Using J2SE, I tried making a LAN application using java.net.*, and it worked perfectly. I believe it's very similar (if not the same) concept to be applied for online applications.
What package(s) or classes should I use to develop an online application? do I need a static IP address? Opinions, links and tutorials are welcomed.
Basically an application that works on the internet works exactly the same as one that works on a LAN. There are just a few points to keep in mind: