Solved

Connect to location

Posted on 2009-06-29
7
265 Views
Last Modified: 2012-05-07

Hello there,

I have written a java application using jnlp,hibernate,and sql server 2005 db.the application i setup on windows 2003 server with apache server and it is located in head office.in the head office some users are using the application.now i need users from many location(say 4 ) to connect to the server and use the application.what are my options.some of these locations do not have adsl they only have internet via modem.
i need users to be able to use the application without being very slow.

cheers
Zolf
0
Comment
Question by:zolf
  • 4
  • 3
7 Comments
 
LVL 20

Expert Comment

by:ChristoferDutz
Comment Utility
I think the main question is, what type of client are you using? If it's a web-application, you can make the application publically available via http or https. If security is a big issue, I'd recomend implementing a VPN dialin using the Windows 2003 Server VPN Server. For all approaches you will have to forward some Ports to your Windows Server.

HTTP: Port 80
HTTPS: Port 443
VPN: Depends on the type of vpn (I'd recomend PPTP) - Here you need to forward Port 1723 from your Gateway to the Server.
0
 

Author Comment

by:zolf
Comment Utility

it is a jnlp application.i mean it is not web based application.in the head office the users just enter the ip address like 192.168.0.1 and i show them a index.html page which has a link pointing to the jnlp application.then when they clcik on the link the jnlp application starts.
how do i allow remote uses to do this same prosedure
0
 
LVL 20

Expert Comment

by:ChristoferDutz
Comment Utility
Ok, so you use http for showing the index.html and could you please post an example link displayed on the page? In general this will propably point to a http-server (propably the same as the one generating the index.html but doesn't have to be) sending the Webstart binary using http to the Webstart client.

Using HTTP/HTTPS:
In the above szenario you would have to redirect http traffic from your router/gateway to the server generating the index.html ... your Link has to be in the same context, because if you send for example an url like 192.168.1.23 the remote client will not be able to connect to that host (because it's a local network and 192.168.1.23 would not be routed over the internet.

Using VPN:
If you use a VPN to allow your clients remote access to the application you shouldn't have to think about any of the above problems, but only redirect the mentioned port to your windows 2003 server. Clients automatically become part of your company subnet and can use the local ip adresses.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:zolf
Comment Utility

the index.html has a link pointing to C:\webroot\kaiz.jnlp
0
 

Author Comment

by:zolf
Comment Utility

i created a vpn on the windows 2003 server and then for test purpose i connected to the server from a clinet machine in another location through vpn.but the application runs very slow.i have adsl speed of 256 at both sides.what could be the reason.
0
 

Author Comment

by:zolf
Comment Utility


can you please explain more about how to redirect to 1723 port
0
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 500 total points
Comment Utility
In that case, I'd recommend to place your jnlp file so it is available via webserver (Best would be to place the file in the same directory as your index.html). Then your link would simply link to "kaiz.jnlp" and users would access it using http. I cannot tell you how to redirect your port 80, but as you can connect to your server, I assume everything is allready setup.

To the speed ... the A in ASDL stands for Asynchronous DSL ... that means the Download Ratio is much higher than the upload. Let's say you have a downstream of 256 and an upstream of 16, than the other location an only access data of your server with a maximum of 16 (Since the server isn't able to send faster). This is one thing where you can't do anything other than get a Synchronous DSL or other internet connection with greater upstream capacity.
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

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

743 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

8 Experts available now in Live!

Get 1:1 Help Now