Solved

How to setup java application in production environment

Posted on 2013-01-13
9
427 Views
Last Modified: 2013-01-23
Helllo there,

I have a java application which is implemented with Swing,hibernate technology with mssql 2008 db. My application has been in the production environment for the past 4 years. I had setup the application on a windows server 2003 OS and my users connect to the app via RDP and my DB is centralised. Now the app has matured in the sense I have solved many issue related to the app. Now I add new features less compared to before. Now it is very difficult for me to mantain this RDP for users and it becomes a nightmare when I need to reinstall the OS as I need to create around 50 users and give them RDP permissions. I want to know is there some other way to provide the app other then RDP.Appreciate your help.

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
  • 4
  • 3
  • 2
9 Comments
 
LVL 12

Expert Comment

by:Sharon Seth
ID: 38773514
Is it a desktop app running on one server and users log into that server thru RDP (Remote Desktop?) ?
0
 

Author Comment

by:zolf
ID: 38773588
yes
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 50 total points
ID: 38774045
At the moment it's a client-side app by the sounds of it (though remotely accessed). The only solid (principally from a security perspective) is to make the app a server-side one, where, in your case, the server would be the same machine that's currently being accessed by RDP
0
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
LVL 12

Accepted Solution

by:
Sharon Seth earned 450 total points
ID: 38774051
Java web start is the way to use distributed desktop apps  .JNLP is at the core here .
What happens  is each user has the app deployed on his desktop . When a user launches the app , JNLP upgrades his deployment to the latest version if you have released a newer version.

I would suggest to start looking and researching on Java webstart and JNLP
0
 

Author Comment

by:zolf
ID: 38777015
CEHJ
do you mean to redesign my app all over again.?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38778022
do you mean to redesign my app all over again.?
Probably. Question: at the moment, where and how do you store the credentials to access the database?
0
 

Author Comment

by:zolf
ID: 38781346
the db credential is stored in the hibernate file on the server
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 38782569
But the application is a client-side application (accessed remotely). Is the user prompted for a username and password in a ui or at the command line?
0
 

Author Comment

by:zolf
ID: 38785723
yes the user is prompted for credential 2 times. once while connecting to the server via rdp and the second time to my application itself. the credetial(database and the java jars) is on the server itself
0

Featured Post

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.

Question has a verified solution.

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

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video teaches viewers about errors in exception handling.

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