Solved

Setup Java application on internet

Posted on 2008-09-30
8
157 Views
Last Modified: 2010-03-30
hello there,

i have written an java application using swing,sql server 2005 db.i want to know can i install it in the central office and other offices(another city) be able to connect to it and use the application.what are the things i need and things i need to take into consideration.appreciate your suggestions.

cheers
ZOlf
0
Comment
Question by:zolf
  • 3
  • 3
  • 2
8 Comments
 
LVL 6

Accepted Solution

by:
manuel_m earned 500 total points
ID: 22603534
If you want to install your Java application in other offices you must make sure that you have access to the database (internet). Of cource Java has to be installed on the client machines.

I would recommend to provide your application as WebStart. With this option all the users have the same version and you are able to provide updates with small effort.

For the webstart version you need a server that can provide your application from a website. The user can click on a link and downloads the necessary components.
I would recommend that all the users have the same Java version installed. We ran into a problem that occurred on our Webstart application because our clients used an older update version of Java 1.6. But its not a must.
You also have to consider the security settings for a Webstart application.

Java Webstart: http://java.sun.com/docs/books/tutorial/deployment/webstart/index.html
Security: http://java.sun.com/docs/books/tutorial/deployment/webstart/security.html
0
 

Author Comment

by:zolf
ID: 22603564

manuel_m:
Thanks for your comments.
what server do i need to use and can you please guide me or provide any links where i can know how to setup the jnlp so other office sites can access the application.
another question i have is about database transaction.i mean two users are trying to access same resouce.in the sense one is updating and another is viewing.
0
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 22603573
If your application connects to the central database, then you have open the port of the database for public use.
0
 

Author Comment

by:zolf
ID: 22603663

>>then you have open the port of the database for public use.
where is this done
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 22603694
It should be done from your network firewall, where you need to open the port. Its typically
not a good practice to do that though...
0
 
LVL 6

Assisted Solution

by:manuel_m
manuel_m earned 500 total points
ID: 22603850
Official Java Webstart FAQ: http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html

A Java Webstart FAQ: http://lopica.sourceforge.net/faq.html

A short Webstart Tutorial: http://www.mkyong.com/java/java-web-start-jnlp-tutorial-unofficial-guide/

Ajay-Singh:
If the application is started with Webstart and is located in the same network where the database is located there is no need to open the port of the database.
This is only needed when the central database has to be connected via Internet. Or am I wrong?
0
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 22604263
> This is only needed when the central database has to be connected via Internet. Or am I wrong?
You are not wrong. I have told the same thing, if you look at the comments above.
0
 
LVL 6

Expert Comment

by:manuel_m
ID: 22604309
Oh, I see. Didn't realize it. :-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to parse custom JSON to POJO java 4 55
Unable to open debugger port in Intellij idea 6 144
Running Jira on Raspberry PI 2? 3 261
Unable to start eclipse ? 17 132
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

910 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

16 Experts available now in Live!

Get 1:1 Help Now