Solved

Can server-side Java be used to create pc-side one-time executables?

Posted on 2012-04-03
3
425 Views
Last Modified: 2012-04-04
I have been a VB6 standalone EXE apps as part of my job description for the past 20 years.  I need to begin programming in a new language that supports server-side applications that run from client web browsers, but with the ability for some applications to run pc-side.   I need to know if JAVA is the best language to support my needs.  Can JAVA (and is it meant to do these things):
-      Be used to write browser-based applications, where the program executes on the server?
-      Can JAVA (if yes above) be used to read/write/interact with SQL or other server based databases for information reads/writes and interact with the customer?
-      Is JAVA a good language for writing web-apps in general?
-      SECOND REQUIREMENT for the server-side JAVA browser app:  (A pc-side executable)
o      Example.  Customers have a fairly large (25MB) log file that needs to be processed
o      They browse to the web page, it presents them with various buttons to perform various functions against the file that is on the customer’s PC (they don’t upload it)
o      Can JAVA download a sort of executable during the web browser session, that will allow the PC-side log file to be processed/searched/parsed/analyzed using the buttons in the WEB browser?  For example they click “find all occurrences of (some string)” button and the code executes on the customer’s PC parsing through the file, rather than having them upload it first.
I know this is a bit specific, but I am trying to discern in general if JAVA is a good language to handle half executing on the server looking up information and number crunching, and half on the customer PC using one or more local files that need to be processed WITHOUT the need for the customer files to be uploaded (since they can be very large 25-50MB in size)?
I am in a startup company-like position and am tasked with finding the best language to support browser apps that can do fairly robust tasks both on the server side as well as the PC side, without the customer needing to install software on their PC – or maybe just allowing them to click “OK” to download a small applet that runs locally each time and gets deleted at the end of their web session.  Is JAVA geared to do these types of web apps?
0
Comment
Question by:mizetreestump1
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 37804826
Java and ActiveX are probably the only two that could meet your requirements and ActiveX is IE Only.  You need to research 'signed applets' in Java and note the the customers have to have Java installed on their computer first.  There is nothing that runs only in the browser that is allowed to access the local machine.  They blocked that at least 10 years ago.

http://docs.oracle.com/javase/tutorial/security/toolsign/index.html
0
 

Author Closing Comment

by:mizetreestump1
ID: 37807078
Thank you for your response.  I'm guessing programming in JAVA as a web server page versus creating the prompted executable download on the client PC where JAVA is installed, versus even developing standalone PC-side JAVA executables might all be totally different, maybe even different careers?  But it sounds like I am on the right track pursuing JAVA as my next overall development language.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 37807203
For the purposes you mentioned, it seems like it would be best.  But you're right that the different implementations have different requirements.  Java on the server seems to be done as "jsp", Java Server Pages, and requires a server that works with that.  Java in the web browser needs signed applets I think to pass security checks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need help to rewrite script 3 68
Disk Ram Peak 1 33
How does Redux fit into React? 3 70
Randomize in Owl Carousel v1.3.2 6 20
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now