Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

top down web services

Thread view: 
Andreas Bauer - 23 Mar 2006 17:04 GMT
Hi,

I already worked with RAD 6 and made some simple web projects. Now I
have to create a top down Web Service. I have read several tutorials
from IBM (theeducational ones from the Academic initiative), but these
are too "superficial". I have also bought the book "Developing Web
Services for Web Application" but this doesn't cover what I'm looking
for in details.
Here is what I have accomplished:
1. Create Entity Beans from an existing DB2 schema. Easy with RAD
2. Create a WSDL-File.
3. Import WSDL-File to ejb project and create an EJB-Skeleton from that
WSDL-File
What I need to do:
1. The entity beans are abstract classes which have get/set methods
,for example the username. Can I add there  other methods, lets say for
deleteUser in this abstract class? Or where do I have to put them?
2. In the web service implementation I want to access the the entity
beans. So I have to use a find-method to get the local entity bean. But
I need a find method which finds the entity bean by the username or id.
Do I put the implementation in the localhome class where the other find
method is situated.
3. And when I want to access the the database in the deleteUser method,
I create a Datasource,then access via jndi-lookup and execute my sql
statements?, don't I?
4. Is there any more detailed tutorial which explains how to create a
top down web service?

It would be great if anybody could support me, as I need this for my
masterthesis and I'm already stuck with this for a while.

Best regards,

Andi
Sawssan - 12 Apr 2006 13:12 GMT
Hey Andi,

I don't know how far you got with you thesis but I'm working on almost
the same thing.
I am supposed to develop a couple of web services under
eclipse/Jbuilder (up to me as long as it's a j2EE platform). I chose to
implement them as EJB stateless session beans but didn't really figure
out how to.
If you got any answers to your questions or managed to find a way out
of it i'd love to hear from you.

Thanks in advance.

Sawssan

Andreas Bauer a écrit :

> Hi,
>
[quoted text clipped - 30 lines]
>
> Andi
robert - 12 Apr 2006 13:46 GMT
> Hi,
>
[quoted text clipped - 30 lines]
>
> Andi

I've done a lot of EJB and web services work. Typically I use JBoss for
several reasons. Have you read their EJB / web services tutorial ?

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWS

HTH,
Robert
http://www.braziloutsource.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.