• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Re-tasking a java client application as middleware?

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry; this may be a stupid question, but:

I have been given a java application spread across a number of jars to look at. It is essentially a client front-end that talks to a database on a back end server. Is it possible without entirely re-writing the application to write a JSP front end that runs the business logic part of the application as middleware on Tomcat? It's all written as java classes with no servlets or beans etc. that I am aware of at present. I'm not so worried about actually producing the jsp front end at the minute as trying to figure out whether the application can be re-tasked as middleware. Does it need to be re-written as servlets or something?

I appreciate I'll have to do some proper research, but I wondered if anyone could tell me whether it is basically feasible or not. If it is, what subject areas do I need to tackle?

Thanks for any guidance you may be able to offer.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Without seeing the application, it's not possible for anyone here to say how much reworking your classes would need in order to run them in a webapp.

In theory it shouldn't be too difficult. If you were to write it as an MVC webapp, your POJOs could serve as the model if they fit the Javabean conventions. If not you could write beans that wrap them.
 
Attractive, successful people love this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic