Rewrite of Java front end

Posted on 2011-03-09
Medium Priority
Last Modified: 2012-05-11
I have an existing Java application. The application has a complex GUI, number crunching and db interaction. The front and back ends are cleanly separate. Suppose I wanted to host the backend of the application in a server and rewrite the front end in something other than Java to work on a client browser. What would be the best choice for this? PHP? This is probably a religious issue, but I'm interested to hear all opinions.
Question by:allelopath
LVL 26

Expert Comment

ID: 35084465
it all depends the requirement, for e.g., if the front end manage lots of contents, PHP good option. the question id why do you want to move away from Java!
LVL 86

Expert Comment

ID: 35085069
We really need more detail. When you say 'application' is this a Java web app or a standard, desktop-type app?
LVL 47

Accepted Solution

for_yan earned 668 total points
ID: 35085289
In a sense of "working inside the browser" Java with applets which really "work inside the browser" is fairly unique.
You can replace this functuionality sometimes with Flash or Adobe Flex, sometimes with Ajax or even sometimes  with plain JavaScript, I guess, with ActiveX controls, however nothing will probably give you equal level of flexibility and ability to rely on the presence in the browsers as java.
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

LVL 92

Assisted Solution

objects earned 668 total points
ID: 35088288
I'd go with javascript for the front end.

> PHP?

php is a backend technology

Author Comment

ID: 35103685
CEHJ: Standard desk-type application
LVL 92

Expert Comment

ID: 35103739
php is a backend technology that you would use to generate the html for the frontend.
You're leaving the backend as is aren't you?
LVL 86

Assisted Solution

CEHJ earned 664 total points
ID: 35107175
Why not make as few changes as possible? Think about (since the gui seems to be correctly loosely coupled) making it an applet communicating  with the back end (hosted on the web). You will of course need a bridging comms layer, possibly something like RMI, to allow the applet to communicate with the application.

OTOH, if really all you want is web delivery and it's not essential for the ui to be in a browser window, then Web Start will leave you with the least work

Featured Post

7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
There’s hardly a doubt that Business Communication is indispensable for both enterprises and small businesses, and if there is an email system outage owing to Exchange server failure, it definitely results in loss of productivity.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

600 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