Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2008-06-10
4
284 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unable to open debugger port in Intellij idea 6 330
Suggestion on WebSite Template Sites 6 108
micro services vs rest web services 16 126
ejb entity bean example issue 2 16
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.

860 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