472,325 Members | 1,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,325 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 2637
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...
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...
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...
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...
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...
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...
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...
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...
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...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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.