Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB with DB Access

 
Ahamed Sharif
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Billy Tsai
Ranch Hand
Posts: 1304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use DAO pattern
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic