-
EJB CMP or JDBC (3 messages)
- Posted by: Natalie Vaslavsky
- Posted on: June 19 2007 17:42 EDT
I have restriction that I cannot use open source framework datamapping tools like Hibernate. It means that I can use only Entity beans or JDBC to access database. My reguirements document says: " Physically, the processes for the control, user, and data access tiers will be running on a single web/application server, a Sun 440, and the database will be running on a Sun 25k database server running Oracle 10g" Looks like that if make a decision to use Entity Beans, that I can use Entity beans with remote interface only. And this is not the best decision. Looks like that the best decision here to use JDBC to access database. Is my assumtion correct? Thank you, NatalisThreaded Messages (3)
- Re: EJB CMP or JDBC by sawan parihar on June 20 2007 15:49 EDT
- Why remote i/f only ? by Ram Jawadi on June 22 2007 11:53 EDT
- Use Session beans by J Dev on July 16 2007 00:52 EDT
-
Re: EJB CMP or JDBC[ Go to top ]
- Posted by: sawan parihar
- Posted on: June 20 2007 15:49 EDT
- in response to Natalie Vaslavsky
You can use JPA. -
Why remote i/f only ?[ Go to top ]
- Posted by: Ram Jawadi
- Posted on: June 22 2007 11:53 EDT
- in response to Natalie Vaslavsky
If you use JPA, you should use some implementation like Hibernate or some other. Why can't the Entity beans be local, and your entity manager (and underlying ORM system) takes care of persistence operations with db server. -
Use Session beans[ Go to top ]
- Posted by: J Dev
- Posted on: July 16 2007 00:52 EDT
- in response to Ram Jawadi
U can use session beans as DAO wid jdbc, u will get CMT, but not CMP sudhir http://www.jyog.com