Solved

J2EE browser based UI to accept multiple file and bundle it to a war file output

Posted on 2008-06-10
4
282 Views
Last Modified: 2013-12-02
Hi Experts,
 I need a direction as to how I could go about to develop a simple browser based UI, which would accept files and bundle it and give a output in a war file format.

Desirable Features:
1. Browser based UI running on Jboss
2. The page should have multiple browse links to accept files
3. should have a browse field asking for output location
4. Output as a war file format.

Any help would be greatly appreciated.
0
Comment
Question by:itsme_asif
  • 3
4 Comments
 
LVL 10

Expert Comment

by:mukundha_expert
ID: 21751217
ya its possible,

for uploading files using forms, you can use FileUpload from Apache,

for converting into a webarchive you might want to use the java.util.zip
and give the extension as war

and you can send that war file to the client.

0
 
LVL 10

Expert Comment

by:mukundha_expert
ID: 21751234
0
 

Author Comment

by:itsme_asif
ID: 21751933
Thanks much , its exactly what i wanted. I need to ask a another dumb favor as well, i am new J2EE or Java, can you please tell me how i can go about starting a project, i am using eclipse IDE and also how i can connect the codes FileUpload and Creating Archive. is there any sample project you can provide me which i can reference?
0
 
LVL 10

Accepted Solution

by:
mukundha_expert earned 500 total points
ID: 21752249
you can refer to the code for FileUpload -> http://www.experts-exchange.com/Programming/Languages/Java/J2EE/Servlets/Q_23452603.html

once you get the files in the list, you can use the examples for Creating archive to create the war file,
but before that you would need to know the structure of the WAR file, how the user is going to specify the folders,
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 53
Understanding @ResponseBody annotation 5 94
countHi2 challenge 7 55
web application structure 18 77
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

770 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