Solved

Setup JNLP for my application

Posted on 2014-12-07
9
179 Views
Last Modified: 2014-12-15
Hello there,

I have a java, hibernate, mssql 2008 database application which is being used by my client. They use RDP to connect to a server 2003 server and there they run the application. So far so good. Now I want to setup JNLP for a set of users on another server for reporting purpose only. I have around 30 jars and my main java application jar. Can somebody please help me to setup an JNLP environment for these reporting users. I don't want them to connect via RDP to this reporting server.The database will also be different for these reporting server.

cheers
Zolf
0
Comment
Question by:zolf
  • 5
  • 4
9 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 40486531
The first thing you'll need is a web server running on the Windows server.
0
 

Author Comment

by:zolf
ID: 40488210
That is the easy part. I want to know how to set my JNLP with Tomcat will those jars.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40488348
No - the easy part is doing the JNLP ;). Tomcat is not a web server btw - what makes you think you need it?
0
 

Author Comment

by:zolf
ID: 40490537
I was planning to add a link to the JNLP from Tomcat. For e.g. the user will type in the URL and there they will get to see a link which when they click will run/start my Java application. The problem is how do I get all my jars into this JNLP.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 40490964
Tomcat is a J2EE container. If all you're doing with it is to serve up a static JNLP pages then that's massive overkill. All you need is a simple web server. If you want something tried and tested, use Apache, or, if you must, IIS.

Putting together the JNLP is really not hard - have a look at some examples. The jars simply have to be named in the right part of the xml (to become what's effectively the classpath)

The next problematic part is that you'll need to be prepared to sign the jars, as security has now got very tight for web-originated code
0
 

Author Comment

by:zolf
ID: 40498567
thanks for your comments. is there another way out to my problem. Now the users connect via RDP the server and use my application. I wanted them to not to use rdp and log into the server.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40498791
is there another way out to my problem.
Not really unless you make the application run server side and thus make a web app
0
 

Author Closing Comment

by:zolf
ID: 40499671
cheers
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 40499984
:)
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

757 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

21 Experts available now in Live!

Get 1:1 Help Now