Enterprise Java Beans problem. Please help

I am using a similar database like the one in this tutorial: Travel example

http://developers.sun.com/jscreator/learning/tutorials/2/dataproviders.html

The IDE provides Enterprise JavaBean components for use in tutorials and sample applications. You can add other EJBs to the IDE, then use them in your projects.

Does anybody have any idea about how I can write a similar method as getPersons method in Servers->Enterprise Java Beans-> Travel Center->getPersons method ?

I have a database and I need to browse throught it...using First Button, Previous Button, Next and Last. Without using EJB i don't know how to refer to the cursor position. I don't know how to build such EJB.

I know I can add Ejb Set in IDE but I don't know how to build it. I don't know what is behind the:

Sun\Creator2_1\rave2.0\samples\ejb\client-jars\travelAppClient.jar

[904 byte] By [ALFa] at [2007-11-27 6:31:09]
# 1
Java Studio Creator team ? How to ... ?
ALFa at 2007-7-12 17:56:03 > top of Java-index,Development Tools,Java Tools...
# 2
Hi There,Im not sure I understand your question, but these will be of use to you to access database info. http://www.netbeans.org/kb/55/vwp-databoundcomponents.html http://www.netbeans.org/kb/55/vwp-inserts_updates_deletes.htmlThanksK
kish@suna at 2007-7-12 17:56:03 > top of Java-index,Development Tools,Java Tools...
# 3

There may be other better methods than the one I have proposed below.

The quick and the easiest way is to use NetBeans, which allows you to develop a new EJB, the ejb could be also be tested here. Copy the .war file to Creator directories. Import the ejb into Creator. When you see the new ejb, change its port to 3306 (I think). Downloading, installing and using NetBeans is not very different from Creator-2. The version, etc. may be found at http://www.cifesone.bravehost.com, click on link "Lab facilities underway" and see the figure.

marysam

marysama at 2007-7-12 17:56:03 > top of Java-index,Development Tools,Java Tools...
# 4
In my last reply, by mistake, I stated as .war file, it should .jar file. Secondly, to find the required port for EJB, you may right click the existing ejbs on Creator-2. Also by a right click you will be able to change the port of your EJB.marysam
marysama at 2007-7-12 17:56:03 > top of Java-index,Development Tools,Java Tools...