

Give to your client a dedicated J2EE server in ASP mode
source link: https://marco.dev/2009/03/09/give-to-your-client-a-dedicated-j2ee-server-in-asp-mode/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

java-version.com: What's new in Java 16? 15? Keep up to date!
Give to your client a dedicated J2EE server in ASP mode
In my last project we had to sell ASP solutions to client. The software works on our servers and the clients have to connect remotely.
The projet has been launced by a small non-IT company, mantain a Server Park for them is not possible. For this reason we opted for dedicated server managed by exernal service provider.
The problem of this solution is that one server is very expensive and the approach to create multiple instances of Tomcat, mysql, … is a big risk in case of problem of one instance and it’s complicated in the configuration phase.
The solution adopted is to install VMWare Server (you can do the same with Virtuozzo, XEN, …) and install an Ubuntu VM for each client. Ubuntu has a server edition conceived for the VMs (Ubuntu JEOS). It needs only 128MB ram and 200 MB HD. We used Tomcat 6 (thanks Spring!!!) for this product (max 200MB for instance). 512 MB dedicated for each VM is largely sufficient.
Each client has a different ip port to connect to the appication. Configuring the nat.conf of VMWare on the server we can easily redirect the client request to his ‘dedicated server’. On a typical server with 4GB of ram we can install 8 VMs reducing the costs for us and the client.
A big advantage is the possibility to create locally the VM and transfer it to the ‘production’ when it’s ready copying the files. The maintenance is easier because when we have to upgrade the version we can redirect the port to a different VM with the updated product. This last options is not implemented yet because we preferred to maintain the DB server in the VM with tomcat. In the future (after benchmarks) it could be interesting to install a ‘service’ VM with the DB and access it directly from the VMs.
Recommend
-
60
-
87
java 基础 是 servlet 的基础 servlet 是 jsp 的基础,Java本身不适合web 开发,但是 servlet 可以做到,jsp 适合做页面 java –> servlet –> jsp 2. 常见的java服务器 JBOSS WebLogic...
-
71
1.程序员在开发过程中发现 servlet 开发界面非常的不方便,于是诞生了 jsp 2.一个公式: jsp = html + java + jsp 标签 + js + css 3.jsp + java类(service Javabean)+ servlet 就会构成 mvc 开发模式
-
7
J2EE: Behind the Pet Market From Macromedia Monday, September 16, 2002 Sun has put up an article on the Macromedia...
-
8
Open Source J2EE FrameworksSpringSpring is a layered Java/J2EE application framework, based on code published in Expert One-on-One J2EE Design and Dev...
-
13
Java and J2Ee Programmer at Aceline Tech Solutions Pvt. Ltd (4 – 6 years Exp)Aceline is niche technology services provider founded in 2010. It’s an energetic and experienced team with the domain expertise in space of Finan...
-
6
RAD, WAS 6 Test Env and J2EE security: getting rid of “No received or invocation credential exist on the thread” November 24, 2006 ...
-
7
JEE、J2EE与Jakarta等概念解释 - 极道 有没有听说过Java EE?Java 2EE,J2EE或现在的Jakarta EE怎么样?实际上,这些都是同一个东...
-
6
学习j2ee有些迷失方向 ...
-
5
用j2ee架构金融平台,请各位指点 ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK