473,385 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Manual Packaging for Deployment - J2ee

Hello,

I have a requirement to create EAR and WAR packages without using the
integrated package building tools built into the IDE. The packages will be
created via a deployment script, preferably on a Win2k/Xp machine (less
preferably we have a solaris 9x box - however i really need to get this
running on xp or i'll be shuffling files between systems constantly)

To be honest, all i've ever used is my IDE, in this case Sun One Studio
(forte) to build my EARs and WARs but now I need to build my packages on a
dedicated build box thats tied in with our Source Repository.. Meaning i
have to go to first principles to create the packages...

Retrieving the files from the Code Bank isnt the issue, but compiling and
packaging the files is.

I'm using Javac to create my class files, the bit i'm not sure about (read,
currently lost) is the creation of the WAR/EAR, readings suggest that I use
the Deploytool, or JAR however I cant find explanitory text on how to use
those apps..

also note, I cant use a GUI, (deploy tool appears to have a gui/non gui
mode) as this will be a scripted deployment.

To add something else into the mix, ANT seems a popular choice, however this
is something ive never played with before so unless its the "prefered"
choice of the forum, i'm not planning on going there!

Please throw a few pearls of your collective wisdom my way, anything you
have would be appreciated.

Cheers
Jul 17 '05 #1
2 2706
Have you looked at INSTALLANYWHERE? What platforms do you need to deploy
to? Maybe if we talked I could help more. I have written many installers.

Bob Reynolds wrote:
Hello,

I have a requirement to create EAR and WAR packages without using the
integrated package building tools built into the IDE. The packages will be
created via a deployment script, preferably on a Win2k/Xp machine (less
preferably we have a solaris 9x box - however i really need to get this
running on xp or i'll be shuffling files between systems constantly)

To be honest, all i've ever used is my IDE, in this case Sun One Studio
(forte) to build my EARs and WARs but now I need to build my packages on a
dedicated build box thats tied in with our Source Repository.. Meaning i
have to go to first principles to create the packages...

Retrieving the files from the Code Bank isnt the issue, but compiling and
packaging the files is.

I'm using Javac to create my class files, the bit i'm not sure about (read,
currently lost) is the creation of the WAR/EAR, readings suggest that I use
the Deploytool, or JAR however I cant find explanitory text on how to use
those apps..

also note, I cant use a GUI, (deploy tool appears to have a gui/non gui
mode) as this will be a scripted deployment.

To add something else into the mix, ANT seems a popular choice, however this
is something ive never played with before so unless its the "prefered"
choice of the forum, i'm not planning on going there!

Please throw a few pearls of your collective wisdom my way, anything you
have would be appreciated.

Cheers


Jul 17 '05 #2
I use Ant for everything, including the creation of deployment descriptors.
Not only will you learn the de facto standard in Java build tools, but you
may even learn about J2EE and the deployment descriptor definitions that are
required - I usually write them by hand.

--
Tony Morris
(BInfTech, Cert 3 I.T., SCJP[1.4], SCJD)
Software Engineer
IBM Australia - Tivoli Security Software
"Bob Reynolds" <bo*@bigpond.com> wrote in message
news:Xg******************@news-server.bigpond.net.au...
Hello,

I have a requirement to create EAR and WAR packages without using the
integrated package building tools built into the IDE. The packages will be
created via a deployment script, preferably on a Win2k/Xp machine (less
preferably we have a solaris 9x box - however i really need to get this
running on xp or i'll be shuffling files between systems constantly)

To be honest, all i've ever used is my IDE, in this case Sun One Studio
(forte) to build my EARs and WARs but now I need to build my packages on a
dedicated build box thats tied in with our Source Repository.. Meaning i
have to go to first principles to create the packages...

Retrieving the files from the Code Bank isnt the issue, but compiling and
packaging the files is.

I'm using Javac to create my class files, the bit i'm not sure about (read, currently lost) is the creation of the WAR/EAR, readings suggest that I use the Deploytool, or JAR however I cant find explanitory text on how to use
those apps..

also note, I cant use a GUI, (deploy tool appears to have a gui/non gui
mode) as this will be a scripted deployment.

To add something else into the mix, ANT seems a popular choice, however this is something ive never played with before so unless its the "prefered"
choice of the forum, i'm not planning on going there!

Please throw a few pearls of your collective wisdom my way, anything you
have would be appreciated.

Cheers

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bon Bon | last post by:
I am trying to run the Java PetStore Demo using clouldscape. But my default RMI registry port 1099 is taken by some other program. So I am running cloudscape on port 2001. But then the deployment...
0
by: Alex Molochnikov | last post by:
I would like to get an opinion from other EJB developers who might have faced a similar problem. I am developing an EJB for deployment on various app servers (JBoss, Sun ONE, BEA WebLogic)....
4
by: Mark | last post by:
Is there some Microsoft website or ftp server that I can point my installer to to download dotnetfx. Pointing user to the Windows update page is not an option, I would like my application to...
0
by: Nigel Bell | last post by:
Hi all Please excuse me if this seems silly.... I've been using the VB6 Package & Deployment Wizard to create a 'CD' version of an Access application based on FE/BE and a rather large number...
3
by: Paul Aspinall | last post by:
Hi I want to package my C# winforms app, to be deployed with MSDE, as easily as possible for the end user. I want to create an MSI or Installshield (prefer MSI), to setup my C# app, together...
1
by: Nak | last post by:
Hi there, I have come across a bit of an annoying bug, all of a suddent VB.NET is packaging old versions of my assemblys into the into my deployment package. I can confirm that it is doing this...
0
by: blkwebman | last post by:
I'm trying to create a "standalone" install package (without any of the dialog boxes that a standard setup package would have). I think I understand how to do it in VB6 (using PDCmdLn.exe); I have...
1
by: 4m8un | last post by:
Hello everybody I have a problem with Packaging & Deployment VB. Im use VB 6 with Crystall Report 9 Often im success to packaging vb 6 but without crystall report, but every i use report with...
5
by: Paul Rubin | last post by:
I've been through this kind of thing a few times in the past and received excellent advice here on clpy about how to deal with specific technical aspects (e.g. how to use setuptools, InnoSetup,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.