• 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 ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

What we can do with java EE?  RSS feed

Ranch Hand
Posts: 43
Chrome Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Community

I am wondering what are the applications of java EE. I know we can make a website with help of servlets and JSP but that can be accomplished with PHP as well, then what is the benefit of coding a website in java when it can be done in  a much simpler way in PHP. Also thinking as a client, one would ask the programmer to code in PHP than java as JAVA web hosting are way too expensive than simple shared hosting plans on which PHP website can run. Then what is the real benefit of JAVA?

I have started learning java EE a few days ago and I am wondering if I had made a correct decision. Please let me know what are the benefits of a website/web-app over other languages maybe PHP or .net. Also I there any other purpose of java other than the website building. Are there any popular applications which are built solely on java?

I am very confused if I has chosen the right path. Thanks in advance.

Posts: 1845
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very generic question. As such I can only give a very generic answer

You're not sure you have chosen the right path.  Nobody ever is. 
But where are you right now, and where do you want to go?

Yes you can make a website with servlets and JSP.
You can do the same with PHP.  Or Perl.  Or C# or asp.net.  Each have positives and negatives.  There is a broad common base though that won't hurt to learn in whatever language.
My understanding now is the industry is moving more and more to "Full Page applications" - controlled mainly through javascript.
As such I would say that JSP/PHP etc are currently trending downwards - for web browser client side things anyway.   If making dynamic websites is your goal, then I would recommend you go learn HTML, Javascript and a framework like Angular or React.

The server role is trending more and more to just delivering data (JSON) for a client to render in HTML. As such it can be anything you want.  But Java isn't a bad choice.
Java on the server isn't going to disappear by any means.  I would focus these days more on providing functionality through webservices and REST APIs than JSP.  Of course they can be implemented in any language you like.
What I think is important is you understand the fundamental building blocks of web services/APIs, how they are used from the client side, and how you can implement them on the server side.
Then you can chop and change as necessary

Thats just my 2 cents for what its worth,

good luck,

Saloon Keeper
Posts: 4754
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Web sites, and web service backends for web sites and mobile apps, are just part of the story. Much backend processing has no UI, and Java is frequently used for that.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!