This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 17249
    
    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
 
Consider Paul's rocket mass heater.
 
subject: Is EJB3.0 without annotation possible??
 
Similar Threads
can EJB 2.1 call EJB 3.0 ?
Is EJB3.0 without annotation is possible??
Tune stateful EJB configurations
Stateful Session and Shopping Cart
Get Table name from entity name