Re: A real jini service
Tommy tommy <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Hi, I have readed the service UI API. I have some doubts and I would want ask you some councils. My chat service is composed: 1) chat server class (Service Provider. It waits for user connection. it will create a thread server for every chat user) 2) thread server class(it manages the chat user) 3) message class (chat message between thread server and chat user main) 4) multicast class (it finds a lookup service and register the service) The client will use this class: multicast class (it finds a lookup service and finds the service) I would have to export to the lookup service these 3 classes: 1) chat user main class(it comunicates with thread server and it invokes the chat user GUIs methods when a generic message comes) 2) chat user GUI 3) message class (chat message between thread server and chat user) All the comunications are performed by sockets. My service proxy will be composed from: chat user main. It will contain the chat user GUI (inside entries, like specified from service UI API) How do I export the message class? Can I include in serviceitem (service proxy) two class? Or can client download the message class from servce provider's webserver? Which is the correct way? Sorry for my confusion, but I'm little expert. Thank you Regards -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]