File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB with DB Access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB with DB Access" Watch "EJB with DB Access" New topic
Author

EJB with DB Access

Ahamed Sharif
Ranch Hand

Joined: Aug 24, 2003
Posts: 47
Hi,
I am new to EJB , which ejb bean communicate with DB Access and
how that flow should be look like. Any have good links and
sample source regarding ejb with DB access please send it to me.
I am using Mysql database.
OS 2000, jdk1.4 and App.Server JBoss.
Thanks,
Sharief.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
You have two choices:
1. Entity Beans
2. Session Beans + JDBC
I'd strongly suggest you start by reading some tutorials on Enterprise JavaBeans.
EJB Fundamentals
ejbtut.com


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Billy Tsai
Ranch Hand

Joined: May 23, 2003
Posts: 1304
use DAO pattern


BEA 8.1 Certified Administrator, IBM Certified Solution Developer For XML 1.1 and Related Technologies, SCJP, SCWCD, SCBCD, SCDJWS, SCJD, SCEA,
Oracle Certified Master Java EE 5 Enterprise Architect
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB with DB Access