File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Moving an app. from j2se to j2ee

 
willem jacobus odendaal
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to move a development from j2se to an application server (jBoss in particular) and i'd appreciate some advice as to what would be the simplest way of doing it. (I am struggling to form a mental picture of the proccess ie. what fits into what.)

PS - How do I get rid of the fly/miggie on my screen?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have to move a development from j2se to an application server (jBoss in particular) and i'd appreciate some advice as to what would be the simplest way of doing it

Well, you can start by working out what additional services you need that requires an application server and start from there. Why are you migrating?


How do I get rid of the fly/miggie on my screen?

No idea.
 
willem jacobus odendaal
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The application populates a pdf form from a database. Now my boss wants to move the app onto a server so that our clients simply log onto the site, upload a template(pdf) and a csv and voila, we send them the populated forms. My boss wants to run this on jBoss because apparently it's quick and lite...

As you can see it's not so much that I need the extra services, I'm just trying to do what's required.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like the only service you require from the app server is its Web Container - in which case you probably should start with Tomcat. Tomcat is included with JBoss as a Web Container, or can be downloaded seperately. Tomcat will give you an authentication service (which you'll need to let users log in) and JBoss may be "lite" but it is a lot more complicated than is necessary for a simple web app.

Now I don't want to tell you how to design this, but you might consider:
  • JSP (or possibly Struts) GUI/view of the forms you need.
  • Servlets to handle the requests (or Actions dep on technology)
  • A Business Object to do the combination/PDF generation
  • A DAO layer to handle then JDBC stuff.

  • That should get you started.
    [ September 13, 2004: Message edited by: Paul Sturrock ]
     
    willem jacobus odendaal
    Greenhorn
    Posts: 12
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Paul what a selfless human being you are!

    Real advise at last(as oposed to abstract gomswoddle).

    thanQ very much...
     
    Richard Rodger
    Greenhorn
    Posts: 17
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Just out of interest, how did you solve the data upload part of the project. I had a similar issue and ended up using download4j from http://www.javazoom.net
    which works quite well.
     
    It is sorta covered in the JavaRanch Style Guide.
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic