Skip to main content

custom midlet-servlet chat app problem

No replies
vukdavid
Offline
Joined: 2009-09-22
Points: 0

Hi, sorry for my bad english.
I have a big problem with developing chat application, so I really hope you can help me out.

I created a chat midlet application and java server, who works on my home computer with 24/7 adsl network connection. This works fine. Connection between midlet and servlet is via sockets (Socket - ServerSocket).

My problem is that I want to upload my server to some java hosting free provider and use it without my local computer.

I modified my server into servlet, and that works just fine in Netbeans Tomcat java server. But when I upload it on free server http://eatj.com/ it wont work. I figure it out that the problem is in sockets, and online server don't allow it.

I run out of ideas how to make it work.

I could change my app to work with servlet get post methods, but I don't know how.

Thanks for any reply..