Java web server - Editing session bean descriptors EJB Query page An
Tuesday, January 1st, 2008Editing session bean descriptors EJB Query page An EJB Query page specifies the query used by a container-managed bean to execute a finder or select method defined in the bean. To add an EJB Query page, right-click the EJB Queries node in the structure pane and choose Add. An EJB Query page contains these fields: Method Name: Use the drop-down list to select the finder method defined in the bean for which you want to create a query. Method Parameters: Specify the type of the parameter followed by the parameter name as you would declare it in code. Query: Write the EJB QL statement you need to retrieve the entities from the data source. EJB QL is the query language for container-managed persistence query methods defined in the EJB 2.0 specification. An EJB QL query is a string that must contain a SELECT clause and a FROM clause, and may include a WHERE clause. Result Type Mapping: Specify the type you want returned as either Local or Remote from the drop-down list. Description: An optional description of the query. Editing session bean descriptors The following section describes working with the pages that appear for all servers, no matter which server is your target. To see information about server-specific pages, display the page, then press F1. 130 Developing Applications with Enterprise JavaBeans
Our Colorado hosting facilities are located in Little Rock, Colorado. Colorado web hosting datacenter which we have is linked on five major US backbones which gives you assurance that your site will be online 24/7 a day. More details you can find out in Web Hosting Colorado part.