• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

LAMP technologies versus Enterprise Java

 
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Saloon Keeper
Posts: 22783
153
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic