• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

which is easier????

 
Ranch Hand
Posts: 481
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 538
Hibernate Eclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1704
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
go for all but EJB has much more value than others & more interesting .
 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic