aspose file tools*
The moose likes Object Relational Mapping and the fly likes Is EJB3.0 without annotation possible?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply locked New topic
Author

Is EJB3.0 without annotation possible??

Kanchan Kumar Dey
Greenhorn

Joined: Oct 18, 2007
Posts: 19
Can we write a complete EJB3.0 application(Session, messagedriven, Entity) without using any annotation but deployment descriptor or other ".xml" files.
James Sutherland
Ranch Hand

Joined: Oct 01, 2007
Posts: 553
Yes.

Just use the ejb-jar.xml to define the SessionBeans and a persistence.xml and orm.xml to define the JPA entities.


TopLink : EclipseLink : Book:Java Persistence : Blog:Java Persistence Performance
Kanchan Kumar Dey
Greenhorn

Joined: Oct 18, 2007
Posts: 19
This topic has been copied into EJB section.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Yeah, this probably more appropriate in the EJB forum.

You can always delete threads that you create. Just click the edit post image link and check off the delete check box and save.

I will close this thread.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is EJB3.0 without annotation possible??