well .. when you want to on/off things then its relay.
should look like this mobile(j2me)-network(TCP/IP)-PC-PIC(C++)-Relay- Light
You need to go thru many steps. but first step will be how to play with micro controller and relay. I have done some C++ stuffs that was quite simple. google should help. As i also cant remember the whole stuffs after few years.