J2EE

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jubri

    #1

    J2EE


    I know when updating a database you use a session beans to call an entity
    bean, is it possible to call an stored procedures directly using just
    session beans



  • Alex Molochnikov

    #2
    Re: J2EE

    You do not have to use entity beans in order to access the database from
    session beans. It is quite all right to use JDBC from within the session
    bean and manage the database operations on your own.

    Alex Molochnikov
    Gestalt Corporation



    "jubri" <oyesiji@verizo n.net> wrote in message
    news:AZnpe.4874 $Kj3.1810@trndd c03...[color=blue]
    >
    > I know when updating a database you use a session beans to call an entity
    > bean, is it possible to call an stored procedures directly using just
    > session beans
    >
    >
    >[/color]


    Comment

    • GreyBeard

      #3
      Re: J2EE

      On Tue, 07 Jun 2005 21:04:32 +0000, jubri wrote:
      [color=blue]
      >
      > I know when updating a database you use a session beans to call an entity
      > bean, is it possible to call an stored procedures directly using just
      > session beans[/color]

      Yes. Please.

      Recommended reading around the value of entity beans - "Better, Faster,
      Lighter Java"

      /Hans

      Comment

      Working...