|
|
 |
01-19-2013, 07:46 PM
|
#1
|
|
Diamond Member
Join Date: Feb 2002
Location: Tampa, FL
Posts: 3,547
|
Need help picking a Java EE development stack/application server and operating system
I'm looking to make a virtual machine running some flavor of Linux, install a Java application server, deploy my proprietary software to the VM/app server, then distribute the VM as a virtual appliance. I'm not well versed with either Linux or Java, so I seek the collective wisdom of AnandTech.
So here are the needs:
1. Operating system must be able to be freely distributed even though the software it ships with will NOT be free.
2. The application server/dev stack must implement Java EE 6, but 7 would be nice.
3. The app server must also be freely distributable, even when shipped with non-free, paid software.
4. Setup and management of the OS and AS should be simple. I don't want any "1337 h4xer LiNuX" crap; I just want something straight forward and effective.
Here's what I'm thinking so far for the OS (one of these):
1. CentOS - free alternative to RedHat, rock solid SE-Linux, great support
2. Oracle JeOS - designed for application distribution, small footprint, not sure about support
3. ???
Here's what I've come up with for the application server and development stack (one of these):
1. JBoss - if using CentOS, this would kind of make sense. RHEL and JBoss are packaged together routinely, and CentOS is a free alternative to RHEL.
2. Glassfish - reference Java EE platform maintained by Oracle. If using Oracle JeOS, this would kind of make sense, too.
3. ??
What do you guys think?
edit:
I just started messing around with Oracle Linux... Looks all fine and dandy until you realize that it will not receive updates unless you pay for support! What a load of crap. What's the point of touting it as a free, enterprise solution if it can't even receive security updates for free?
__________________
- ThinkPad T520 - srs bizniz
- MacBook Air 11'' - iOS dev bizniz
- 1999 Mazda Miata - (street legal gokart on steroids!)
- 2002 Mazda Protege - (Work in progress)
Last edited by slugg; 01-19-2013 at 08:37 PM.
|
|
|
01-20-2013, 09:41 PM
|
#2
|
|
Lifer
Join Date: Jul 2004
Location: Austin, TX
Posts: 20,221
|
CentOS with Tomcat 7
|
|
|
01-20-2013, 10:47 PM
|
#3
|
|
Diamond Member
Join Date: Apr 2005
Posts: 3,089
|
Quote:
Originally Posted by Leros
CentOS with Tomcat 7
|
This.
|
|
|
01-20-2013, 11:14 PM
|
#4
|
|
Moderator Programming
Join Date: Sep 2005
Posts: 8,153
|
Quote:
Originally Posted by slugg
I just started messing around with Oracle Linux... Looks all fine and dandy until you realize that it will not receive updates unless you pay for support! What a load of crap. What's the point of touting it as a free, enterprise solution if it can't even receive security updates for free?
|
Because Oracle.
|
|
|
01-21-2013, 12:55 AM
|
#5
|
|
Golden Member
Join Date: Jun 2009
Posts: 1,555
|
Quote:
Originally Posted by Leros
CentOS with Tomcat 7
|
AFAIK Tomcat is not fully Java EE 6 compliant. So depending on the OPs proprietary Application it might not work.
Quote:
Tomcat is a web container only (Java EE Web Profile in
Java EE 6 terminology).
That means that you have servlet, JSP, JSTL, EL, JSF etc.
to work with.
You don't have EJB, JCA, JTA, JMS etc..
You can also use all the third party web frameworks (Struts 1,
Wicket, Spring MVC etc.).
Most likely you will be fine, but obvious you should narrow
what you study to match what you have.
|
As OS I would use Lubuntu (Ubuntu with LXDE) or Ubuntu Server (no GUI).
Last edited by beginner99; 01-21-2013 at 01:02 AM.
|
|
|
01-21-2013, 07:30 AM
|
#6
|
|
Diamond Member
Join Date: Mar 2005
Posts: 7,375
|
For a VM I would go with CentOS using their minimal install option. Then install the packages you need to support your application. The main goal here is getting a vm that ONLY runs the minimum needed to support your application. Stuff like desktops, services that are not used, etc will only up your vm's system requirements, bloat the vm's footprint, and provide more attack vectors. Ubuntu server's "minimal install for a virtual machine" is also a good option, but for professional work I'd go with Cent. Only because more people will be running redhat in their datacenter and will be familiar with it.
|
|
|
01-21-2013, 01:13 PM
|
#7
|
|
Diamond Member
Join Date: Feb 2002
Location: Tampa, FL
Posts: 3,547
|
Quote:
Originally Posted by sourceninja
For a VM I would go with CentOS using their minimal install option. Then install the packages you need to support your application. The main goal here is getting a vm that ONLY runs the minimum needed to support your application. Stuff like desktops, services that are not used, etc will only up your vm's system requirements, bloat the vm's footprint, and provide more attack vectors. Ubuntu server's "minimal install for a virtual machine" is also a good option, but for professional work I'd go with Cent. Only because more people will be running redhat in their datacenter and will be familiar with it.
|
Yea, I was thinking this, too. I've rolled a couple CentOS minimal systems over the weekend to toy around. So far, I think it's a great option. I'm equally familiar with RedHat/CentOS as I am with Debian/Ubuntu (not saying much - I'm not a Linux expert), but CentOS is a whole lot easier to harden than Ubuntu. For production, I want something that's designed for production, so CentOS wins it for me.
For my particular application, a "complete" Java EE implementation might not be necessary. I'm not entirely sure yet. That being the case, why are some of you recommending Tomcat? Why not JBoss or Glassfish? I'm trying to understand the advantages so I can make an educated decision.
As for the DBMS, I'm thinking Oracle XE. Can anyone come up with a compelling reason to use PostgreSQL? MySQL is out of the question. I'm picking Oracle so far because it's more widely understood due to its popularity, plus the Oracle SQL Developer software puts PGAdmin to shame. Then again, it was maybe two years ago the last time I checked.
Thanks, all.
__________________
- ThinkPad T520 - srs bizniz
- MacBook Air 11'' - iOS dev bizniz
- 1999 Mazda Miata - (street legal gokart on steroids!)
- 2002 Mazda Protege - (Work in progress)
|
|
|
01-23-2013, 12:51 AM
|
#8
|
|
Golden Member
Join Date: Jun 2009
Posts: 1,555
|
Quote:
Originally Posted by slugg
For my particular application, a "complete" Java EE implementation might not be necessary. I'm not entirely sure yet. That being the case, why are some of you recommending Tomcat? Why not JBoss or Glassfish? I'm trying to understand the advantages so I can make an educated decision.
|
Tomcat is more lightweight.Tomcat is very nice, a lot of developers and admins know it. It is far simpler than a full blown java ee container.
Quote:
|
As for the DBMS, I'm thinking Oracle XE. Can anyone come up with a compelling reason to use PostgreSQL? MySQL is out of the question. I'm picking Oracle so far because it's more widely understood due to its popularity, plus the Oracle SQL Developer software puts PGAdmin to shame. Then again, it was maybe two years ago the last time I checked.
|
This is easy. PostgreSQL is free and open source and free not meaning price but free to sue with no restrictions. The Question is more why you should not use it. Only reason I see is if the application only runs on oracle or 90% of your costumers use it with oracle.
Whats you issue with PGAdmin? Works fine for me. Note: I use SQLDeveloper daily and don't really like it that much. Actually I prefer HeidiSQL (MySQL, SQlServer) over both of them.
|
|
|
01-23-2013, 05:49 AM
|
#9
|
|
Elite Member
Join Date: Sep 2001
Posts: 30,636
|
Quote:
Originally Posted by beginner99
This is easy. PostgreSQL is free and open source and free not meaning price but free to sue with no restrictions. The Question is more why you should not use it. Only reason I see is if the application only runs on oracle or 90% of your costumers use it with oracle.
Whats you issue with PGAdmin? Works fine for me. Note: I use SQLDeveloper daily and don't really like it that much. Actually I prefer HeidiSQL (MySQL, SQlServer) over both of them.
|
Agreed. One should default to either MySQL or PostgreSQL and need a very, very good reason to even consider Oracle not vice versa.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:21 PM.
|