Solved

Setup JNLP for my application

Posted on 2014-12-07
9
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

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
 
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
The viewer will learn how to implement Singleton Design Pattern in Java.

705 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