It's not a secret anymore!
The moose likes Object Relational Mapping and the fly likes Is EJB3.0 without annotation possible?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes 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: 550
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: 17228
    
    1

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Is EJB3.0 without annotation possible??
 
Similar Threads
Is EJB3.0 without annotation is possible??
can EJB 2.1 call EJB 3.0 ?
Stateful Session and Shopping Cart
Get Table name from entity name
Tune stateful EJB configurations