You can get prepaid sims from outside Japan but the calling charges are going to be about 70cents a minute (Japan) with texts cost about 50cents each both in and outside of Japan. You also get charged incoming calls plus anyone calling you will be charage an international call rate...
If you have an unlocked iphone or a GSM 3G phone then you can rent a sim from Softbank at the airport, but you are looking at 110 yen a day plus a 315 yen contract fee. Calls are 110 yen a minute local and between 300 to 400 yen a minute for most of Europe, USA and Canada. Incoming calls are free though and text messages are 15 yen local and 150 yen international.
Hire an iphone? 210 yen a day with 315 contract fee with same call charges, data charges are 0.32 yen (yes Y0.32 but charges rounded up) and capped at Y1550 a day. use it all week and you are looking at over Y12,000. However when used with wifi, it is a good emergency phone for local contact.
Still there is Wifi, Osaka has a free limited wifi service. It resets every 30 minutes though and in certain areas you are limited to 15 minute slot 4 times a day, still it's free and widely available.
http://www.osaka-info.jp/en/wifi/
In Tokyo? You can get 14 days free wifi from NTT east (using their Flets brand) by downloading a program to your iphone or andriod phone and visiting a shop to pick up a password card. There are a lot of wifi hot spots and although you aren't going to be able to stream video, it'll be enough for email, google maps, etc. It's meant to be a trial but it will continue until next year at least.
http://flets.com/freewifi/spot.html
http://flets.com/freewifi/use.html
Although I have a Nintendo 3DS and I found enough unlocked wifi spots to check things. I also used a android phone with a wifi sniffer program that alerted me when unlocked wifi hotspots were around.