急java实现分享url功能解决方法

急急,java实现分享url功能
有木有大虾们做过这样的功能,就是能分享到新浪微博,QQ空间,腾讯微博这样的功能。主要分享的是本站url和一些摘要信息,求指教!!

------解决方案--------------------
JiaThis
http://www.jiathis.com/

类似的东西很多,可以了解下
------解决方案--------------------
这个是JS实现的,你去翻翻新浪之类的门户网站看看源代码就知道了。
下面是新浪页面上的代码,JS的源代码自己去里面的链接里看
HTML code

<!-- 分享到微博 -->

<style>

.share-button{width:120px;position:absolute;overflow:hidden;_zoom:1;}.share-button .share-button-inner{overflow:hidden;cursor:pointer;float:left;font-size:12px;height:24px;line-height:24px;background:url(http://simg.sinajs.cn/blog7style/images/common/btn_share.png) repeat right 0;}.share-button .share-button-inner span{float:left;display:inline;margin:0 6px 0 29px;color:#5E0900;}

</style>

<script src="http://news.sina.com.cn/js/87/20111011/227/shareonweibo.js"></script> 

<!-- 分享到微博 -->