• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to create Ejb CMP with WSAD,?

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
reply
    Bookmark Topic Watch Topic
  • New Topic