Re: [Java-gnome-developer] Question regarding other libraries
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2010-09-06 00:23:34
|
On Sun, 2010-09-05 at 10:00 -0600, Adam Balan wrote: > I am thinking of using another library with this one, That's fine. (in fact, that's the whole point; there are some rich libraries in Java land, and even more so, java-gnome has often been used to write rich front ends to [aspects of] enormous corporate enterprise application servers. If you can link the client library to communicate with it, then you can write a rich UI in java-gnome for it. This is actually one of java-gnome's PR problems; lots of people have used it, but for in-house work as opposed to full blown publishable packageable open source projects) > and I am wondering > for maximum optimization of a program dealing with threads which library > would be good to use? Well, {shrug} multi-threaded programming has its challenges, but java-gnome was written to be as thread safe as possible, given the constraints of the underlying libraries. Which is to say, you can have other Java threads running doing whatever, no problem. Only one thread at a time will be [able to] feed the GUI, but that's the same with any toolkit. > I was thinking of creating a instant messaging > service. Oh. So, why don' t you just use Pidgin or Empathy? Speaking of the latter, it's built on the telepathy framework, which adds presence to the GNOME desktop and the ability to talk to numerous different IM backends. We don't have coverage of telepathy as such, but it's something we could certainly think about doing. Other than that, whatever Java library you find you can use, no problem. I'm a little vague as to why you're trying to write an IRC client. There's not really a shortage, but if that's what turns your crank, you go right ahead. > I wanted to write the window and its features in Gnome-Java it's "java-gnome" > and create > the plug ins and what not using the same bindings. Sure > But I am not sure > what library would be good for dealing with threads and IRC chatting, as > it will be an instant messenger that deals with IRC. Well, there's always http://java-gnome.sourceforge.net/4.0/doc/examples/START.html#ExampleInstantMessenger :) Assuming you don't want to contribute to engineering a binding to telepathy any time soon, I can recommend instead: * the pircbot library. I've used it quite successfully over the years. It's really for writing bots but you can just as easily use it for full communication. http://www.jibble.org/pircbot.php * and, for Jabber, use Smack. It's lovely. http://www.igniterealtime.org/projects/smack/index.jsp * and, there aren't any other protocols that matter :) AfC Sydney |