• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which is easier????

 
Karu Raj
Ranch Hand
Posts: 481
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which is easier in coding bewteen EJB and JSP , SEVLETS.

which is cool in coding ?

which should i go ?

do let me know
 
Eric Lemaitre
Ranch Hand
Posts: 538
Eclipse IDE Hibernate Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Karthik !

which is easier in coding bewteen EJB and JSP , SEVLETS.
which is cool in coding ?


JSP/Servlets are anyway a step before EJB which are much more complicated.
So you have to go to JSP/Servlets first logically, then to EJB later.

But IMHO neither JSP/Servlets nor EJB are cool coding at all, the architecture to assemble with them may be cool but not the coding part itself.

Best regards.
 
Kj Reddy
Ranch Hand
Posts: 1704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Karthik Rajashekaran:
which is easier in coding bewteen EJB and JSP , SEVLETS.

which is cool in coding ?

which should i go ?

do let me know


Its all depends on your interest.

JSP involves both java and GUI(HTML) coding. Many people dont like writing HTML pages.

Servlets are mostly pure java coding, mostly used for used for controller kind of activities like creating JavaBeans, redirecting/forwarding to respective pages based on request.

EJBs mostly involve interacting with database and other logic.

I feel if you are strong in core java Servlets/EJBs are not hard to code. Some times I feel bored to code for JSP because of HTML & Javascript stuff in JSPs
 
s jain
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
go for all but EJB has much more value than others & more interesting .
 
Ja vardhan
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which is easier in coding bewteen EJB and JSP , SEVLETS.

which is cool in coding ?

which should i go ?

do let me know


Karthik,

Comparision between EJB and JSP/Servelts is not pretty thing!!!
EJB is differant stuff and JSP/Servlets are differant stuff.

We can very well compare JSPs and Servlets.

Still I have to understand your question.

If you are asking something like: JSP->EJB is better or Servlets->EJB is better
Any how- to achieve best output EJB stuff is relevant. But choosing among JSPs and Servlets depends on our application theme.

According to my knowledge now a days folks are using JSPs for UI part, Servlets for controlling concepts and EJBs for app logic.
Thats the matter of Struts framework, sorry! I dont have knowledge on other frameworks.

HuH, thats what I know about the 'drop' in Java ocean. Please forgive me if I am wrong and clarify me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic