Re: [Beepcore-java-users] Help I'm drowning
Status: Beta
Brought to you by:
huston
From: Harsh D. <hda...@io...> - 2002-11-28 17:24:33
|
I realized it after seeing Huston's response that I failed to mention, my assumption that Profile is implementing *Listener interfaces ( Message, Reply). Harsh Daharwal said: > I suggest you take good look at example provided with the kit > (Beepd.java and Bing.java). My responses are below your questions: > > -- > Harsh Daharwal > IOS Networks Inc. > http://www.iosnetworks.com > > De Kock SJ said: >> Hi, >> >> I am doing vac work for a company who has asked me to look into the >> pros and cons of beep and in particular the beepcore implementation in >> java. I am studing Electronic Engeneering with Computer Science, I >> have just complete my second year. I feel like I have been thrown in >> the deep end here. Hey you know what they say, that is the best way to >> lear how to swim. Well I have been able to float, but for the past two >> days I have battled to get to grips with beep, and the java >> implementation. >> >> I am sure that for most, if not, all of you my questions will seem >> exteremly simple, but I will appreciate any help that you can give me. >> >> From what I have read about beep it is ideal for what this company is >> wanting to do, so I know that my time is not being wasted. >> >> - What is the role of profiles? > > Profile is what you need to implement for developing your protocol on > top of BEEP. Usually all "interesting" work is in profiles. Read > BEEP spec for details. Although You will not find implementation > details of beepcore-java there. > > You usually build a registry of profiles and register with the > framework. > >> - Once I have got a session up how do I make a connection from the >> Server to the Client (implementing peer-to-peer)? > > Typically, client initiates a session and then creates Channel with > desired profile. Use Channel to send messages. > > Message processing at the receiving end takes place in your profile. > Use the Message object, given by framework to profile-methods, for > replying. > >> - When a message is sent to the server, how does the server recieve >> the message? I am guessing that it has to do with the profile, is that >> correct? > > Which message are you talking about? Connection requests are > processed using TCPSessionCreator. All other messages are usually > processed in profile. > >> - Is beepcore-java the best java implementation to use? > > This is something for you to decide. There are other implementations > available, such as beep4j, permabeep etc. I haven't seen much progress > on beep4j lately, although they claim that they are using a better > architecture (SEDA). You need to pay for the latter. Besides, beepcore- > java, if I'm not wrong, is the oldest of them (java implementations) > all. > >> >> Thanks >> Sean > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Beepcore-java-users mailing list > Bee...@li... > https://lists.sourceforge.net/lists/listinfo/beepcore-java-users -- Harsh Daharwal IOS Networks Inc. http://www.iosnetworks.com |