• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create Ejb CMP with WSAD,?  RSS feed

 
kaderjan wushouer
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anyone have some articals about WSAD to create EJB?

Thanks.
 
Alana Sparx
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try creating an EJB project in WSAD, then trying to deploy it

Right click on a project and
New-->Other-->EJB
then
Enterprise Bean-->Next then follow the wizard!

if you're looing for specific EJB sources, there are loads: try the usual suspects (Sun, IBM etc). Myself, I've never really read a satisfactory J2EE book, so I've picked up bits and pieces here and there.

Hope this helps
 
kaderjan wushouer
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thx.But i have problem in binding datasource.I can't find EJB Extension Editor to binding datasource as the tutorial said that button is under generate deploy code.I use WSAD WebSphere Studio Application Developer (Windows) Version: 5.1.2.

So my problem is that i couldn't binding datasource.
 
Alana Sparx
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haven't used the utility myself, but if you open the 'J2EE Perspective', then right click on your enterprise bean project (note: the project MUST be an EJB Project), a list of options appears:

Click the 'Generate' option, and two further options appear:
I think you want the lower one, labelled 'EJB to RDB Mapping'.

Hope this helps!
 
Ådne Brunborg
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the Data perspective, right click in the "DB servers" window. Choose new connection. Fill in with correct data (db name, ip address, etc).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!