pojo « ejb « Java Enterprise Q&A





1. To EJB3 or not?    stackoverflow.com

I have an architecture scenario and I would like to discuss to get your opinion. I can choose between these two (this is a constraint imposed on me)

  1. Use EJB3+JPA - no ...

2. POJO vs EJB vs EJB 3    stackoverflow.com

Does anyone have any example of what a Java Class might look like as a POJO, EJB, and EJB 3? I'm trying to understand these java technologies but am having trouble. ...

3. Using Dependency Injection in POJO's to inject EJB's    stackoverflow.com

Is it possible to inject ejb's into pojo's using the @EJB annotation? If it is, do I have to set up anything special on a JBoss server to make it work? Please let ...

4. EJB 3.1 @EJB Injection into POJO    stackoverflow.com

Being a complete turbot this afternoon and cant seem to find the answer anywhere. With the new EJB 3.1 spec is it possible to inject an EJB into a pojo? I ...

5. How to package EJB3 with external domain-jar    stackoverflow.com

I am facing another problem in my little test-webapp. I have an EJB module (created via maven-pom) that basically wraps the data-access, so all it does is some DAOs implemented as Stateless-SessionBeans. ...

6. EJB containing POJO instance with transaction    stackoverflow.com

I have created POJO facades to be used by Stateless EJBs. These POJO classes contains convenient CRUD methods using Entity beans with transactions. My persistence.xml is defined to use JTA. However ...

7. Accessing a EJB from a POJO    stackoverflow.com

Is it possible to access an EJB from a POJO? I have tried the

@EJB MyClass obj
but that does not work.

8. How to instantiate a class, either EJB or POJO?    stackoverflow.com

I have a class, which is either EJB or POJO (I don't know). I have to make an instance of this class. Is there any pattern for this operation? Or I ...

9. What are the advantages to using a Stateless Bean and DI instead of a POJO and Static Methods    stackoverflow.com

Why would it be beneficial to use stateless beans and dependancy injection over just a simple pojo with static methods? In other words, are the advantages to an EJB purely because ...





10. How does a web server/container treat a POJO in respect to other classes like EJB's and Entities?    stackoverflow.com

I'm trying to use plain old java objects(POJO)'s and regular class files where needed and only use EJBs when I need the functionality that they add such as asynchronous calls, pooling, ...

11. EJB3 Entity Bean, POJO, without annotations    java-forums.org

Hello, I develop an application where the EJB3 is used. According to some advises got from the net, POJO classes are used as entity beans and they contain some EJB3 annotations like @Entity, @Id, @GeneratedValue, @ManyToMany etc. The application server is JBOSS. To manage and communicate with the server side, a web GUI was created. It communicates with server by means ...

12. How to inject a POJO into an EJB    forums.oracle.com