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 Configuring WAS with eclipse or WSAD ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Configuring WAS with eclipse or WSAD ???" Watch "Configuring WAS with eclipse or WSAD ???" New topic
Author

Configuring WAS with eclipse or WSAD ???

sandeep verma
Greenhorn

Joined: Jul 09, 2004
Posts: 8
Hey i am new this websphere, can anyone please help me out finding a way to configure websphere in eclipse so that i can debug, run and do just like we can use eclipse with TOMCAT ...

pls help me out guys
Jim Janssens
Ranch Hand

Joined: Sep 24, 2004
Posts: 210
For starters:

WSAD = the IBM proprietary IDE (based on eclipse) which you use to write EAP's to deploy on WAS servers (the app server) . It contains some wizards which enable you to easely create and deploy EAR files.

Basicly you cannot work without WSAD. It generates the deployment descriptors, handles websphere specific tags (especially with cmp entity) and it offers great debugging plus a embedded WAS test server.

You probably can simulate the working of WSAD with eclipse, if you use the proper ant tasks in combination with XDoclet. But I would strongly discourage this. Also, WAS does not support hot deploy. With WSAD you can easely test your ear by deploying it on the test container. If you use eclipse, you will have to deploy the created EAR manually on a standalone was (NO hot deploy here !!!) or you have to write ant tasks that deploy it automatically. Either way, its slow and painfull.

So, just use WSAD to develop and to create the structure of your project + meta files (deployment descriptors etc). Use the embedded test server to test your project. Finally use the EAR created by WSAD to deploy it on a standalone WAS.
sandeep verma
Greenhorn

Joined: Jul 09, 2004
Posts: 8
Hey thats a ton! for sharing these usefull fact. I am having a web-module and its WAR , WAS4.0 and WSAD4.0. I have tried working WSAD it looks similar to ecipse, but can you pls suggest me how to go through with WSAD.
Say : i wanna create a project under WSAD using the existing WAR file.
then i want the application server as WAS (so i want to configure or set up so that my applcation uses WAS.)

: is it possible to run the application on test server without running the WAS on a machine.

If any one knows how to make a project and the concept of using websphere in WSAD. Then please help me out!

Looking forward from your side !
Ajinkya Bijagare
Greenhorn

Joined: Aug 03, 2005
Posts: 1
hi Sandeep,

You can import your WAR file in WSAD.
Goto File -> Import, this will start a wizard to import the WAR file. Specify the location for your war file and the project name.Follow the steps. Once finished you can see your web project in the Project Navigator window of the j2ee perspective.

WSAD provides you with a WAS test enviornment where you can deploy your war file.You need to create the new test enviornment. Go to the server perspective. Right click and say "New server and server configuration".Give a suitable name for your server and select the server type viz. Websphere version 5.1, websphere version 5.0 or whatever is appropriate.

After this, you could see your server name in the server configuration window.Double click this, this will open a window where in you can configure the server, viz Ports,Datasource,Enviornments,classpath,etc.
Once this is done save and close this window.

Next go to the server perspective, right click the server you created, where in you see the option "Add and Remove project" . Add your web project from the available projects to the configured projects.

You are done and now you can start the test enviornment server to run your application.

Hope this helps you !!!

Cheers
Ajinkya.
 
Don't get me started about those stupid light bulbs.
 
subject: Configuring WAS with eclipse or WSAD ???