<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - bcmoney</title>
<link>http://snipplr.com/users/bcmoney/language/java</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 00:06:42 GMT</pubDate>
<item>
<title>(Java) SendEmail.java</title>
<link>http://snipplr.com/view/70050/sendemailjava/</link>
<description><![CDATA[ <p>Sends an Email message in Java. The properties file should look as follows:
* * *
##################################################  
## Email server settings  
## (default SMTP port is "25", but Gmail uses different one)  
##################################################  
`notificationFrom = donotreply@company.com  `  
  
`notificationCC = teamlead@company.com  `  
  
`notificationTo = product-support-mailing-list@company.com  `  
  
`notificationAuth = true  `  
  
`notificationSecurity = true  `  

`notificationHost = smtp.gmail.com  `  

`notificationPort = 587  `</p> ]]></description>
<pubDate>Fri, 22 Feb 2013 01:41:42 GMT</pubDate>
<guid>http://snipplr.com/view/70050/sendemailjava/</guid>
</item>
<item>
<title>(Java) YouTubePlayer.java</title>
<link>http://snipplr.com/view/68983/youtubeplayerjava/</link>
<description><![CDATA[ <p>Requires "[Guava lib](http://code.google.com/p/guava-libraries/ "Google core Java API aka. Guava libraries")", as well as the main dependencies listed in the above link:

*   gdata-youtube-2.0.jar
*   gdata-core-2.0.jar
*   gdata-media-2.0.jar
*   gdata-client-2.0.jar 
*   mail.jar

Then configure your API_KEY and APP configs:
https://code.google.com/apis/youtube/dashboard/gwt/index.html#product/

Then you should be able to search YouTube from a Native cross-platform JAVA desktop app; after this, next steps are to:

0.  Test searches and ensure its working well.
1.  Integrate Tidy HTML parsing and generate YouTuve  tags.
2.  Setup lightweight HTML file to accept video IDs as parameter and render a player: http://jsfiddle.net/bcmoney/yBP4J/
3.  Integrate WebRenderer: http://webrenderer.com/ (or other embedded J2EE broswer)
4.  Test playback of video in Embedded Browser, Mobile support, (see BB demos) etc..
5.  Integrate with BlogOfBug's JCarousel: 
http://web.archive.org/web/20070203112659/http://www.blogofbug.com/page3/page3.html
6.  Find inspiration to finish OpenRecommender!!!!!!!</p> ]]></description>
<pubDate>Thu, 06 Dec 2012 08:20:21 GMT</pubDate>
<guid>http://snipplr.com/view/68983/youtubeplayerjava/</guid>
</item>
<item>
<title>(Java) ExecuteSystemCommand.java</title>
<link>http://snipplr.com/view/66777/executesystemcommandjava/</link>
<description><![CDATA[ <p>WARNING: Don't use this one lightly, you can run just about any command the JVM has access to and could corrupt data or bring your system crashing to a halt. Certainly do not recommend putting this behind a user-accessible front-end such as a Web Form, Servlet or GUI control without intense scrutiny, validation and filtering of the inputs.</p> ]]></description>
<pubDate>Fri, 17 Aug 2012 05:22:21 GMT</pubDate>
<guid>http://snipplr.com/view/66777/executesystemcommandjava/</guid>
</item>
<item>
<title>(Java) Java interface example</title>
<link>http://snipplr.com/view/66776/java-interface-example/</link>
<description><![CDATA[ <p>This example demonstrates advanced object-oriented concepts such as Polymophism through interfaces, parallel processing through Threads and dynamic resource allocation.</p> ]]></description>
<pubDate>Fri, 17 Aug 2012 05:15:19 GMT</pubDate>
<guid>http://snipplr.com/view/66776/java-interface-example/</guid>
</item>
<item>
<title>(Java) Inheritance example</title>
<link>http://snipplr.com/view/66775/inheritance-example/</link>
<description><![CDATA[ <p>This example demonstrates advanced object-oriented concepts including inheritance, getters/setters, method overloading and reflection.</p> ]]></description>
<pubDate>Fri, 17 Aug 2012 05:03:19 GMT</pubDate>
<guid>http://snipplr.com/view/66775/inheritance-example/</guid>
</item>
<item>
<title>(Java) Java data structures example</title>
<link>http://snipplr.com/view/66771/java-data-structures-example/</link>
<description><![CDATA[ <p>This example demonstrates intermediate object-oriented programming concepts including Data Structures, Linked Lists and how method overriding works. In addition, it demonstrates how to document code properly, with ample comments and proper Javadocs which can generate corresponding code API docs.</p> ]]></description>
<pubDate>Fri, 17 Aug 2012 02:22:40 GMT</pubDate>
<guid>http://snipplr.com/view/66771/java-data-structures-example/</guid>
</item>
<item>
<title>(Java) ConsoleReader.java</title>
<link>http://snipplr.com/view/66770/consolereaderjava/</link>
<description><![CDATA[ <p>The infamous ConsoleReader, without which I wouldn't have learned much in Java in University, as it took a while to get my head around how input/output works in an object-oriented programming context.

Thanks to Indiana U for posting since my school's (AcadiaU) has since been taken down.</p> ]]></description>
<pubDate>Fri, 17 Aug 2012 01:51:37 GMT</pubDate>
<guid>http://snipplr.com/view/66770/consolereaderjava/</guid>
</item>
<item>
<title>(Java) Learning JAVA (with basic standalone code snippets)</title>
<link>http://snipplr.com/view/66769/learning-java-with-basic-standalone-code-snippets/</link>
<description><![CDATA[ <p>Just some random stuff I worked through myself and used a long time ago to get up to speed with Java in University. 

If you can understand these basic samples by actually running them and experimenting, then you'll be set to do more in-depth programming.</p> ]]></description>
<pubDate>Fri, 17 Aug 2012 00:35:21 GMT</pubDate>
<guid>http://snipplr.com/view/66769/learning-java-with-basic-standalone-code-snippets/</guid>
</item>
<item>
<title>(Java) Proxy.java</title>
<link>http://snipplr.com/view/45558/proxyjava/</link>
<description><![CDATA[ <p>Java Servlet for making an HTTP request cross-domain.

Nice and simple tutorial:
http://www.tidytutorials.com/2009/12/simple-java-proxy-servlet-using.html</p> ]]></description>
<pubDate>Fri, 10 Dec 2010 10:22:48 GMT</pubDate>
<guid>http://snipplr.com/view/45558/proxyjava/</guid>
</item>
<item>
<title>(Java) proxy.jsp</title>
<link>http://snipplr.com/view/45552/proxyjsp/</link>
<description><![CDATA[ <p>Source of inspiration was the Proxy deployed as part of GeoDashViewer:
http://trac2.assembla.com/alegia/browser/GeoDashViewer/WebContent/proxy.jsp?rev=341

As well as the idea from:
http://vsingleton.blogspot.com/2006/12/simple-jsp-soap-proxy.html

After posting, saw something very similar blogged about here:
https://www.codemagi.com/blog/post/190

And here: http://rrao.host.adobe.com/kannan/JSPProxyScript.jsp.txt</p> ]]></description>
<pubDate>Fri, 10 Dec 2010 09:35:10 GMT</pubDate>
<guid>http://snipplr.com/view/45552/proxyjsp/</guid>
</item>
</channel>
</rss>