Two Laptop Bag*
The moose likes EJB and other Java EE Technologies and the fly likes Need detailed steps to create EJB in websphere 6.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Need detailed steps to create EJB in websphere 6.1" Watch "Need detailed steps to create EJB in websphere 6.1" New topic
Author

Need detailed steps to create EJB in websphere 6.1

Pawan Komaram
Ranch Hand

Joined: Dec 08, 2009
Posts: 91
Hi,
I want to know the process of creating ejb components(session beans, entity beans, message driven beans) in websphere 6.1


Thanks in advance
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

This resource has all the information you are likely to need. One thing to note, WAS is really complex, if you have not already I would get a copy of a WAS IDE (e.g. Websphere application developer or the like).


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Pawan Komaram
Ranch Hand

Joined: Dec 08, 2009
Posts: 91
Thnaks for the reply

But, I couldn't get anything from the link that you have specified.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42641
    
  65
"not anything"? It has everything there is w.r.t. WAS 6 documentation. What, exactly, are you looking that you're certain you can't get from that site?


Ping & DNS - my free Android networking tools app
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Where did you try? There are quite a few examples in there.
Pawan Komaram
Ranch Hand

Joined: Dec 08, 2009
Posts: 91
Just please tell me the steps that are involved........no need of detailed description.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42641
    
  65
That's really not how JavaRanch works. We prefer that people learn something in the process, and are not just handed solutions.

Are you familiar with EJBs in general? It's a standard API, so there shouldn't be anything different on WAS compared to other servers (except the deployment, but that should be covered by the WAS documentation).
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

deva vv wrote:Just please tell me the steps that are involved........no need of detailed description.


If you are going to use WAS I'm afraid a you'll have to get used to detailed descriptions. WAS is complex; the documentation I pointed you to is vital to avoid many wasted hours trying to work things out on your own.
Pawan Komaram
Ranch Hand

Joined: Dec 08, 2009
Posts: 91
I know how to create EJB's and deploy it in weblogic......here my question is how to deploy it in wesphere....ie. I am asking about the websphere specific deployment descriptor....okay??
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

As I've been trying to intimate, this is not a quick and simple task on WebSphere. Please take your time to go and read the linked documentation (especially the tutorial on deploying an EJB application). There is no shortcut.

What you would typically do (as the link explains) is create your application, then prepare it for deployment (either using an admin script written in Jython or TCL or in a WebSphere IDE, such as Rational Software Architect). This will do the stuff you cannot do by hand (e.g. create the WAS specific classes and add generated identifiers to your elements in your deployment descriptor). Then, assuming you have set up any container resources your application relies on, you should be able to deploy it.

Note: the web client admin console will do much of this, but in WAS 6.0 is is missing certain important parts that will prevent you from using it exclusively.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

"Jjjj vv"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.


[My Blog] [JavaRanch Journal]
 
Don't get me started about those stupid light bulbs.
 
subject: Need detailed steps to create EJB in websphere 6.1