Solved

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

Posted on 2004-10-12
9
173 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
With the rapid rise in mobile usage, mobile devices are here to stay and have become an integral part of doing business. Here are 9 great apps for your BYOD environment.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

26 Experts available now in Live!

Get 1:1 Help Now