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.