This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Linux / UNIX and the fly likes LAMP technologies versus Enterprise Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "LAMP technologies versus Enterprise Java" Watch "LAMP technologies versus Enterprise Java" New topic
Author

LAMP technologies versus Enterprise Java

Jason Kretzer
Ranch Hand

Joined: May 31, 2001
Posts: 280
Hello all,
I am looking for a good reference on the good/bad attributes of J2EE versus LAMP(Linux, Apache, MySQL, <insert favorite 'p language'>). I have been working in the web tier of J2EE for about 2 years now and am slowly inching my way through to actually developing EJB's for things I did by hand before. It seems that this process is quite complicated even with a great tool like WSAD.
So, I got to thinking about comparing what I was doing to how things are done with LAMP(with Perl as the 'p language'). Anyone use both extensively enough to give a comparison? Or has anyone already done the comparison research and can point me to some references?
thanks,
-Jason
michael bradly
Ranch Hand

Joined: Oct 06, 2000
Posts: 112
I would check out O'Reilly's http://www.onjava.com/ and http://www.onlamp.com/ I've found them to be useful resources.
I started out simply wanting to program in Java and hadn't given thought to much else. I found Java difficult to digest because I had grandios ideas of what I wanted to do and didn't have the skill set to do it, until I started learning EE and mySQL/Oracle, then it started really sinking in. However in learning EE and mySql I in turn had to learn a bit about Apache/Tomcat and setting up an enviornment. I realized I needed to learn some Unix and continued with it, taking a Sys/Admin class because I had ideas of making and running my own server. So now I've managed to build a server which was a great learning experience in and of itself.
What is this all leading towards? Well, in learning Java, I learned that LAM goes along with it cohesively and definately broadened my horizon. I don't think you can go wrong learning Linux, Apache, and mySql, but let's face it, LAMP sounds better then LAMJ- and it would be unfortunate if the moniker gave the misperception that only PHP/PERL/PYTHON are the languages of choice for Linux, Apache and mySql.
Presently I'm learning PHP. There are some things about it I've come to appreciate- i.e. it is much simpler to write code to access a database, however there are a few things I don't like- ugly syntax - and I'm coming across things that make me suspect- it seems pretty lax from what I've been exposed to.
There's a program I'm writing to mangage stock market info and I intended to write it using JSP/Servlet and EJB, however I've come to realize it will be much simpler to do in PHP. PHP is also working on a bridge with Java http://us3.php.net/java, which I'm highly interested in.
I think the most important lesson to learn though is to do what gets the job done. Well, maybe good database design also, because when all is said and done it's the data that tends to be most signifigant to companies, not the programming language used.
Michael

Originally posted by Jason Kretzer:
Hello all,
I am looking for a good reference on the good/bad attributes of J2EE versus LAMP(Linux, Apache, MySQL, <insert favorite 'p language'>). I have been working in the web tier of J2EE for about 2 years now and am slowly inching my way through to actually developing EJB's for things I did by hand before. It seems that this process is quite complicated even with a great tool like WSAD.
So, I got to thinking about comparing what I was doing to how things are done with LAMP(with Perl as the 'p language'). Anyone use both extensively enough to give a comparison? Or has anyone already done the comparison research and can point me to some references?
thanks,
-Jason
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

Actually, I consider LAMP vs. J2EE in the same light (no pun intended ) as VB vs. C++.
You can get a project up quick-and-dirty in LAMP, but when you scale up, the initial complexity of J2EE becomes less of a burden, where LAMP can degenerate into spaghetti.
YMMV, as PHP is getting much better about object-oriented these days.


Customer surveys are for companies who didn't pay proper attention to begin with.
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
I disagree. Comparing LAMP to J2EE is more like compare apple to orange. J2EE is more toward the "P" layer of LAMP. I used J2EE with Linux, Apache and MySQL, just as PHP with it as well. Performance wise, didn't see a significant difference. To be fair, the site wasn't a huge traffice sites. As far as cost from concept to love, LAMP(PHP) is a lot less than J2EE with LAM. Just my $.02.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LAMP technologies versus Enterprise Java