1 Reply Latest reply on Nov 8, 2002 3:00 AM by juha


    Javier Pz. de Muniain Newbie

      Can someone help me to execute a query within a stateless session bean? Any step to follow.

        • 1. Re: Queries

          1) lookup datasource (such as java:/DefaultDS)
          2) create javax.sql.PreparedStatement
          3) executeQuery()

          Search the web for a tutorial on how to use JDBC API (such as the Java Tutorial at java.sun.com/docs/books/tutorial/index.html)