About EJB

tutorial

Step 3: Define an EJB Session Bean

Explains how to define an EJB session bean in a NetBeans Java EE web application.... will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New ... clicking Next . Enter GuestDao as the EJB class name - use exactly that case sensitive class name. ...

 
tutorial

Step 3: Define an EJB Session Bean

Explains how to define an EJB session bean in an Eclipse Java EE 6 web application.... will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Java Class] ... Click Finish to create the new session bean (EJB) class. Now replace the content of the new source file with ...

 
tutorial

Java EE 6 Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using GlassFish, ObjectDB and JPA.... and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as ...

 
tutorial

Eclipse/JPA Java EE 6 Tutorial

Step by step tutorial that demonstrates how to build a simple Java EE web application (with Servlet, JSP and an EJB Session Bean) in Eclipse using JPA.... Class and Persistence Unit Step 3: Define an EJB Session Bean Step 4: Add a Servlet Class Step 5: Add a JSP ...

 
tutorial

NetBeans/JPA Java EE 6 Tutorial

Step by step tutorial that demonstrates how to build a simple Java EE web application (with Servlet, JSP and an EJB Session Bean) in NetBeans using JPA.... Class and Persistence Unit Step 3: Define an EJB Session Bean Step 4: Add a Servlet Class Step 5: Add a JSP ...

 
forum_thread

How to package orm.xml when using EJB in WAR?

Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml file for example: ... and all contents into the root of jar file when the (EJB) project is built. When that EJB is deployed to e.g. GlassFish 3.1.1 all apperar to be OK, and a singleton ...

 
issue

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

I have marked this as CRITICAL because although there probably is no database integrity problem, the inability to robustly query relationship fields in a web application renders the ObjectDB system seemingly useless. objectdb-2.2.5_10 NetbeansIDE6.9.1 Glassfish3.01 client-server mode. odb file written to db-files/greendesk/greendesk.odb (see persistence.xml), copy of odb output attached. ... performed later form a served JSF page via a querying @EJB gives many fields null (and not even empty, I mean truly null). In ... query. When I serve the query via and @EJB TestQuery and @RequestScoped Page JSF to a simple XHTML page the list field ...

 
forum_thread

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

JRebel 6.5.1 ObjectDB-2.6.9_06 Glassfish4.1.1 (or Payara41 [163 full]] I appreciate that you are not responsible for compatibility with JRebel, but you might be able to provide some insight or feedback. Reported also to Zeroturnaround for JRebel here. When using JRebel I am getting copious server log output for nearly every @EJB on startup. Typical message is like: ... I am getting copious server log output for nearly every @EJB on startup. Typical message is like: Info: [2016-10-30 09:16:46 #6 enhancer.agent] Not Enhanced: com/example/ejb/query/__EJB31_Generated__ExampleQuery__Intf__: com.objectdb.o.TEX: Type ...

 
forum_thread

system exception occurred during an invocation on EJB GuestDao

Hi, I am new to ObjectDB I was trying your eclipse/jee6/glassfish tutorial. Eclipse Luna, Glassfish 4. I am getting the following exception (see below) just after deploying the project. Can someone help me ?  Thanks ... system exception occurred during an invocation on EJB GuestDao, method: public java.util.List ... javax.ejb.EJBException at ...

 
forum_thread

Issue deploying EJB project to Jboss/Glassfish

I have been trying to deploy an EJB project created in Eclipse/Juno to both JBOSS and Glassfish.  The error I get with Glassfish is ... I have been trying to deploy an EJB project created in Eclipse/Juno to both JBOSS and Glassfish.  The ...