Results 1 to 5 of 5
  1. #1
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    448
    Rep Power
    6

    Default Is EJB an alternative for JDBC?

    Hello,
    I am beginner of EjB.
    Some of my friends told that EjB is an alternative of JDBC.Isn't it?

    Write down your idea here.
    Mak
    (Living @ Virtual World)

  2. #2
    Aseem is offline Senior Member
    Join Date
    Mar 2009
    Location
    USA
    Posts
    127
    Rep Power
    0

    Default

    no..who said.
    ejb is mainly used for heavy transaction however you can use EJB for database operations. However widely used for handing transactions.

  3. #3
    mbaocha is offline Member
    Join Date
    Nov 2009
    Posts
    2
    Rep Power
    0

    Default

    JPA which is part of EJB is uses jdbc. so jdbc compliments ejb. not an alternative

  4. #4
    Join Date
    Dec 2009
    Posts
    2
    Rep Power
    0

    Default

    no,wrong information.. EJB is a distributed component which can be supported in any of the platform..now we use this ejb for middletier purpose.

  5. #5
    jogep is offline Member
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    43
    Rep Power
    0

    Default

    it is always a good idea not to use plain jdbc when you work
    with some greater databases.

    EJB is one possible alternative but it only works
    in an application server environment.

    An alternative to EJB is Spring + Hibernate.

Similar Threads

  1. alternative for ajax
    By site4u in forum New To Java
    Replies: 6
    Last Post: 04-28-2011, 01:15 PM
  2. alternative to static initialization blocks
    By paola in forum New To Java
    Replies: 1
    Last Post: 12-06-2008, 05:51 PM
  3. Any Alternative to Swing?
    By Niveditha in forum AWT / Swing
    Replies: 13
    Last Post: 06-27-2008, 09:39 AM
  4. Java mswinsck.ocx alternative
    By kpedersen in forum Advanced Java
    Replies: 0
    Last Post: 06-13-2008, 07:45 PM
  5. Replies: 0
    Last Post: 09-28-2007, 12:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •