• Post Reply Bookmark Topic Watch Topic
  • New Topic

What we can do with java EE?

 
tushar attar
Ranch Hand
Posts: 37
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.

 
Stefan Evans
Bartender
Posts: 1822
10
  • 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,
Stefan



 
Tim Moores
Saloon Keeper
Posts: 3250
54
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!