File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes What next with VAJ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "What next with VAJ" Watch "What next with VAJ" New topic
Author

What next with VAJ

Dharmesh Chheda
Ranch Hand

Joined: May 08, 2001
Posts: 204
Hello everyone
i have developed a simple EJB using VAJ and tested it using a servlet and WebSphere Test Environment.. its working fine there
Can you now help me how to deploy it on WebSphere 4.0 .
In VAJ it gives me three options ..
1> Client jar
2> EJB JAR
3> Deployed JAR
which one to use .. its a stateless session bean .. which is accessed by a servlet
bye and thanks in advance
Dharmesh Chheda


regards,<br />Dharmesh Chheda
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
You're not using VAJ 4.0, are you?
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Dharmesh Chheda
Ranch Hand

Joined: May 08, 2001
Posts: 204
hello kyle
i am using VAJ 3.5.3 .. can you help me with the query i have
Paresh Sharma
Ranch Hand

Joined: Nov 12, 2001
Posts: 34
You need to use VAJ 4.0 for deploying your bean onto WAS 4.0. The deployed code generated from VAj 4.0 will have the required xml files as required by WAS 4.0.
Paresh


mail me @ pareshs76@hotmail.com<br />Websphere 4.0 Certified Administrator<br />BEA Weblogic 5.1 Certified Developer<br />Sun Certified Java Programmer
Dharmesh Chheda
Ranch Hand

Joined: May 08, 2001
Posts: 204
Thanks for giving me the information Paresh
but since i dont have VAJ 4.0 what shall i do .. there has to be some alternative
bye and thanks in advance
Dharmesh Chheda
Paresh Sharma
Ranch Hand

Joined: Nov 12, 2001
Posts: 34
Either WSAD 4.0 or VAJ 4.0 have to be used to generate the code.
The other way might be to generate the deployed code from AAT in WAS 4.0 and use VAJ 3.5.
However this approach would not be applicable for entity beans as AAT would generate a top down approach mapping.
Paresh
Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
hi Dharmesh Chheda,
In WAS3.5, EJBContainer will contain all the Enterprise Beans. To deploy use DeployedJar option in the VAJ
1.because the Deployed Jar will contain all the stub and skeleton information(Deployment Descriptor information).
2.Client Jar is used for to access the ejb in the client side, for that we need the clientJar in the classpath.
3.EJB jar will contain only the EJB Classes(ie remote interface, home interface and bean class)
Regards,
M.S.Raman.
p.s.:
1. I hope that u already configured websphere3.5 with database (DB2).
2. If you want to use WAS4.0 use EJBJar option in VAJ with AAT.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What next with VAJ