Is it a good idea to implement chatroom like functionality via pubsubhub - java

Actually I want something between chatroom and stackoverflow ie users can ask questions and in my application generally many users will be on the same webpage now others can see the question in realtime and answer the same in realtime ie kind of chatroom type app.
I want to implement it via pubsubhub any suggestions ideas if this is a good idea or not.
Any java system having this functionality will be helpful.
Thanks
Saurabh

I think You can use IRC (Internet Chat Relay ) here for that..

Seems like a perfect match for comet. Pubsubhubbub is better suited for near-realtime server-to-server kinda things.

Related

Email-based sign-up in PlayJava

Now I am researching how to implement email-based sing-up in Play Java. However, I couldn't get any useful information, so can anyone tell me the information? In other words, can anyone show some links or the easy example of it?
This is the example written in Scala, but unfortunately I can't understand well, I am not familiar with Scala...
Any comment is welcome.
EDIT: Some people dislike this question. Maybe they think this is not a good question because I am supposed to reach some answers of this question.
However, in fact there seems to be no information that help me build email-based authentication when using Java. In Play Scala, you have many options. But I want to know how to realize it in Java, not Scala. So, this question is so meaning for some people who try to build a web app in Play Java.
You can do this using the Play Authenticate library: http://joscha.github.io/play-authenticate/

Online java applet that reads and writes from/to a mySQL database?

I'm considering creating a little chatbot that learns from users, similar to Clever-Bot (but very different in the way it learns), but I need a way to interface whatever language I use, with mySQL.
I was thinking that java would be the smarter option, though after hunting around it seems a bit difficult to integrate it with a server. Is this true? If not, how would I go about doing that?
Otherwise, would it be smarter to use JavaScript/jQuery/PHP? I'm quite good with these and haven't got a whole lot of experience with Java (but it would be good practise).
Thoughts?
For creating chat bots, consider AIML. And an interpreter that would help you use your AIML files. Going for a backend database isn't a good thing I would say, since AIML is built for Artificial Intelligence stuff,chat bot in your case. Most of the famous chat bots on the Internet use AIML, example A.L.I.C.E .

Getting WAN Address Java

I have been using the automation feature of whatismyip.com to provide a WAN to my program. However, I recently was banned for overuse (I didn't realizing I was accessing the site every time I started the program to test it). That was my mistake... it wasn't intentional. I've contacted them about it, but in the mean time I need another method.
Are there any other ways to do it and/or does anyone know of another site that provides an automation function?
http://whatismyipaddress.com, but they may well share the same ban list. Both sites have obvious notes embedded in their page source about scripting against their service. I suggest you follow the directions and contact them before you screen scrape them.
I know that http://speedtest.net/ shows your IP, but I am not sure if that is what you need.

Log into twitter?

Ok, basically what I am trying to do is get a boolean if I have logged in or not. I am using the Twitter4j library and they gave me the following three things to look at.
http://twitter4j.org/en/code-examples.html
https://github.com/yusuke/sign-in-with-twitter/blob/master/src/main/java/twitter4j/examples/signin/SigninServlet.java
https://github.com/yusuke/sign-in-with-twitter/blob/master/src/main/java/twitter4j/examples/signin/CallbackServlet.java
I have no idea how to log in and get if I logged in successfully.
Thanks, and I have no code btw... all I did was basically copy code and try different things.
PS. On a separate note how do I learn how to use someone elses library?
Twitter uses OAuth. There is no concept of having logged in from any external app. There is instead a concept of an app being authorized to communicate with your account on twitter. On how to learn to use somebody else's library... that's a really general question... reading the documentation is a good start, then the IRC channel for the relevant language (or library if it has its own IRC channel).
I've found people on IRC channels to be very helpful when you have a specific code problem you are trying to solve and the real time help often enables faster progress than waiting for answers to a question on a forum or SO.

Is alcheMo available?

Is it possible to develop iphone apps with java? I'd prefer to use alchemo over xmlvm because of the superior features that it offers. Can I do that? Is anyone else doing that? I've looked all over their site for the download link, but can't find it! Is it available? If so, where?
http://www.innaworks.com/alchemo-for-iphone-java-me-j2me-to-iphone-porting/
Is it possible to program with Java? Yes. There are also implementations of C# with Mono that work (kinda) with the iPhone.
Is it ideal? Probably not. Objective-C really is the first class citizen on the iPhone and the majority of information, resources and help will be centered here.
As for alchemo? This looks like one of those times you will actually have to contact New Zealand if you really want more info.
http://www.innaworks.com/Download

Categories