Entity « EJB « JSP-Servlet Q&A

1. Trying to use entities in a library in another EJB    coderanch.com

I want to split my application into four parts: - a library that contains my entities - a library that contains remote interfaces - the server code, using the two libraries to implement the interfaces - and the application, using the two libraries to query the server and handle display etc. i have a persistence.xml in the entity library and that ...

2. EJB3 Entity: how can I store an object instance?    coderanch.com

Hello everyone, I have an EJB3 entity bean like this: @Entity public class Promotion { ... private RuleModel rule; ... } where RuleModel is a POJO and its object graph could get very complex, so I don't want to map it to persistence, instead I want to directly store the object instance of RuleModel along with my Promotion entity bean. I've ...

3. enhancement ?? ejb3 entity    coderanch.com

4. EJB Casting entities question    coderanch.com

5. EJB Entity: ManyToMany and Delete    coderanch.com

6. Entity EJB frist step asking for help    coderanch.com

9. EJB 3 Entities:clarification    coderanch.com

10. Help on EJB 2.1 Entity    coderanch.com

11. EJB 3.1 Cookbook - where to use entities    coderanch.com

Hi Richard! Good to have another book on EJB 3.1 to choose from! It certainly looks interesting. I was wondering what you think of using Entities: should we use them only in the "Model" layer and use DAO's (or something similar) in the "View/Controller"-layer? Or do you think it is okay to pass them through the service facade and just use ...