Solved

Can someone walk me through where to put my Java code?

Posted on 2004-10-12
9
169 Views
Last Modified: 2010-04-01
Currently, I am running my java and jsp code on an IBM HTTP web server that has the WebSphere 4.01 plugin.
So the code is placed on the HTTP server and through the httpd.conf and was.conf files configuration, the code is run from there.

I now need to move to the WebSphere 5.01 which is a J2EE environment, and I think I need to put my code in its file structure to run.

Can someone walk me through a few questions I have about getting my code to this new environment and run?

Cheers
0
Comment
Question by:g118481
  • 3
  • 2
9 Comments
 
LVL 20

Expert Comment

by:Venabili
ID: 12287955
And what are the questions? Post them and we will try to help you
0
 
LVL 1

Author Comment

by:g118481
ID: 12289553
1.  Can I simply copy my existing code from my HTTP server file structure to my new WebSphere 5.0 file stucture.
2.  Under what folder do I copy my code to?

I'm sure I will have more points, but thest two are the two biggest that stick out right now.
0
 
LVL 19

Expert Comment

by:Kuldeepchaturvedi
ID: 12296837
if your code is conforming to J2EE you should be able to move it as is.
Best way to make it happen is to import it as a .ear file..
WASD provides this import feature with it its easy to use and also takes care of your web.xml and other config files.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 1

Author Comment

by:g118481
ID: 12296998
Can you walk me through the steps to create and import/export the .ear file using WASD?  
I just got WebSphere Studio Enterprise Developer 5.1 and installed it.  Should I use this tool?
0
 
LVL 19

Accepted Solution

by:
Kuldeepchaturvedi earned 300 total points
ID: 12297898
okay do the following steps..
add your jdk\bin directory to your path
if not already there.
from the dos prompt . . . cd to your parent directory . . .you may want to create a temp directory which contains your file structure . . .
from the temp directory you can issue the following command
command  >>> jar cf myapp.war *.*
this will include all files and directories (*.*) into a file named myapp.war
the new war file will be created within the directory from which you issue the command
look at the File Menu from within WSAD . . .there is an import option which will take this war file and deploy it in WSAD.
0
 
LVL 1

Author Comment

by:g118481
ID: 12523967
Yes, I would like to keep this question open for a few more days.  I am still evaluating the suggestions.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now