• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create Ejb CMP with WSAD,?  RSS feed

 
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.
 
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!
 
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).
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!