wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Moving an app. from  j2se to j2ee Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Moving an app. from  j2se to j2ee" Watch "Moving an app. from  j2se to j2ee" New topic
Author

Moving an app. from j2se to j2ee

willem jacobus odendaal
Greenhorn

Joined: Sep 13, 2004
Posts: 12
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

Joined: Apr 14, 2004
Posts: 10336


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.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
willem jacobus odendaal
Greenhorn

Joined: Sep 13, 2004
Posts: 12
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

Joined: Apr 14, 2004
Posts: 10336

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

    Joined: Sep 13, 2004
    Posts: 12
    Paul what a selfless human being you are!

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

    thanQ very much...
    Richard Rodger
    Greenhorn

    Joined: Jan 07, 2005
    Posts: 17
    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.


    Richard Rodger<br /><a href="http://www.ricebridge.com" target="_blank" rel="nofollow">http://www.ricebridge.com</a>
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Moving an app. from j2se to j2ee
     
    Similar Threads
    Whats the best way to install J2SE V1.5?
    New to SCJD
    J2EE & J2SE
    Java 1.2 & java 2
    Java and LDAP