hi,
I am trying to deploy enterprise javabeans in weblogic server5.1. I could able to deploy thru weblogic deployer tool. But when I run the client, I am getting problem.
(JNDI look up). How to specify that? what all the files need in jar file? If I give the following command,
java weblogic.ejbc sample.jar sample1.jar
I am getting one error."Unable to load a class required by your ejb.(sample.sampleHome). what does it mean???
can any one help me???
Thanks in advance.
regards
murali.
-
Deployment of ejb in weblogic 5.1 (5 messages)
- Posted by: MURALI P
- Posted on: August 21 2000 19:38 EDT
Threaded Messages (5)
- Deployment of ejb in weblogic 5.1 by Suresh Vasudev on August 21 2000 19:48 EDT
- Deployment of ejb in weblogic 5.1 by Bhavesh Bhammar on August 22 2000 11:02 EDT
-
Deployment of ejb in weblogic 5.1 by MURALI P on August 22 2000 02:46 EDT
- Deployment of ejb in weblogic 5.1 by Vijaya Bitla on August 22 2000 05:24 EDT
- Deployment of ejb in weblogic 5.1 by sony kondala on December 11 2000 06:37 EST
-
Deployment of ejb in weblogic 5.1 by MURALI P on August 22 2000 02:46 EDT
- Deployment of ejb in weblogic 5.1 by Bhavesh Bhammar on August 22 2000 11:02 EDT
-
Deployment of ejb in weblogic 5.1[ Go to top ]
- Posted by: Suresh Vasudev
- Posted on: August 21 2000 19:48 EDT
- in response to MURALI P
Hi
What I have understood from this mail is that you have just started learning EJB.
Minimum requirements for an EJB is the Home Interface, Remote Interface and Implementation class. We also must provide a deployment Descriptor.
Once this step is over, you have to generate a Serialized version of the Deployment descriptor using an Utility provided by the weblogic , which is called DDCreator.
The next step is to create the Stubs/ skeletons and other implementation classes using the ejbc compiler. The input to this ejbc compiler is the Serialized file generated in step-2.
To deploy the bean, you can iuse the ser file generated in step 2 or you have to create a jar file where in the Manifest file you have to specify that it is an EJB.
Please gop through the set of examples provided by Weblogic in the examples diredctory. It can also be downloaded from weblogic.com
suresh
-
Deployment of ejb in weblogic 5.1[ Go to top ]
- Posted by: Bhavesh Bhammar
- Posted on: August 22 2000 11:02 EDT
- in response to Suresh Vasudev
Suresh,
what you described is good for WLS4.5.1. The question of deployment seems to be related to WLS5.1, wherein the deployment has changed completely.
Breifly stating:
1) Create XML DD.
2) put them in META-INF directory
3) jar your RemoteInterface, HomeInterface, the Bean class and the META-INF dir.
4) provide this jar file as an input to ejbc compiler
5) ejbc would provide you a deployable jar file.
Bhavesh Bhammar -
Deployment of ejb in weblogic 5.1[ Go to top ]
- Posted by: MURALI P
- Posted on: August 22 2000 14:46 EDT
- in response to Bhavesh Bhammar
hi ,
Thank you . I could able to deploy sample bean. If I wanted to access that bean from jsp, where I have to keep my jsp file?????
Thanks.
regards
murali
-
Deployment of ejb in weblogic 5.1[ Go to top ]
- Posted by: Vijaya Bitla
- Posted on: August 22 2000 17:24 EDT
- in response to MURALI P
keep the jsp file in the public_html directory (i.e. document root directory). -
Deployment of ejb in weblogic 5.1[ Go to top ]
- Posted by: sony kondala
- Posted on: December 11 2000 18:37 EST
- in response to Bhavesh Bhammar
hai Bhavesh Bhammar ,
Could u provide me the tutorial or book that covers all these steps using weblogic5.1.,
1) Create XML DD.
2) put them in META-INF directory
3) jar your RemoteInterface, HomeInterface, the Bean class and the META-INF dir.
4) provide this jar file as an input to ejbc compiler
5) ejbc would provide you a deployable jar file.
I would greatly appreciate u'r help.....
Thanks in advance......