<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns="http://purl.org/rss/1.0/">
  <channel rdf:about="http://www.planetnetbeans.org/">
    <title>Planet NetBeans</title>
    <link>http://www.planetnetbeans.org/</link>
    <description>Planet NetBeans - http://www.planetnetbeans.org/</description>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://www.adam-bien.com/roller/abien/entry/you_don_t_need_to" />
        <rdf:li rdf:resource="http://cld.blog-city.com/swing_bits__howto_bind_jtable_to_mysql_table_no_coding_.htm" />
        <rdf:li rdf:resource="http://www.adam-bien.com/roller/abien/entry/a_beautiful_java_book_something" />
        <rdf:li rdf:resource="tag:blogger.com,1999:blog-4439135070202734584.post-6606825137840783593" />
        <rdf:li rdf:resource="http://blogs.sun.com/alexismp/entry/offre_combin%C3%A9_mysql_glassfish" />
        <rdf:li rdf:resource="http://blogs.sun.com/geertjan/entry/user_faq_search_inside_netbeans" />
        <rdf:li rdf:resource="http://blogs.sun.com/NetBeansSupport/entry/the_third_annual_silicon_valley" />
        <rdf:li rdf:resource="http://cld.blog-city.com/developer_platform__opensolaris_video.htm" />
        <rdf:li rdf:resource="http://blogs.sun.com/NetBeansSupport/entry/populating_jtable_from_mysql_database" />
        <rdf:li rdf:resource="http://blogs.sun.com/NetBeansSupport/entry/directories_in_sun_studio_12" />
        <rdf:li rdf:resource="http://blogs.sun.com/NetBeansSupport/entry/java_web_start_for_standard" />
        <rdf:li rdf:resource="http://blogs.sun.com/lukas/entry/jazoon_why_i_missed_it" />
        <rdf:li rdf:resource="http://cld.blog-city.com/netbeans_ide_61mysql_tutorials__connecting__creating_a_s.htm" />
        <rdf:li rdf:resource="http://www.adam-bien.com/roller/abien/entry/is_ejb_3_the_solution" />
        <rdf:li rdf:resource="http://blogs.sun.com/janicec/entry/netbeans_tf_community_tshirts" />
        <rdf:li rdf:resource="http://wiki.apidesign.org/wiki/Blogs#Dependencies_Are_Important_Type_of_API" />
        <rdf:li rdf:resource="http://blogs.sun.com/octav/entry/build_netbeans_on_opensolaris" />
        <rdf:li rdf:resource="http://wiki.apidesign.org/wiki/Blogs#Request.2FResponse_Pattern_Revisited" />
        <rdf:li rdf:resource="http://wiki.apidesign.org/wiki/Blogs#Book_is_never_Written_by_a_Single_Person" />
        <rdf:li rdf:resource="http://wiki.apidesign.org/wiki/Blogs#Entering_the_Blogosphere" />
        <rdf:li rdf:resource="http://blogs.sun.com/alexismp/entry/brussels_tomorrow_friday_27th" />
        <rdf:li rdf:resource="http://blogs.sun.com/branajam/entry/connecting_to_a_mysql_database" />
        <rdf:li rdf:resource="http://blogs.sun.com/lukas/entry/changing_teams_bye_bye_mobility" />
        <rdf:li rdf:resource="http://blogs.sun.com/geertjan/entry/quick_search_api" />
        <rdf:li rdf:resource="http://www.adam-bien.com/roller/abien/entry/embedding_glassfish_v3_in_unit" />
        <rdf:li rdf:resource="tag:blogger.com,1999:blog-23809956.post-8123532513806982221" />
        <rdf:li rdf:resource="http://weblogs.java.net/blog/bleonard/archive/2008/06/introducing_the.html" />
        <rdf:li rdf:resource="http://blogs.sun.com/branajam/entry/securing_a_web_application_in" />
        <rdf:li rdf:resource="http://blogs.sun.com/alexismp/entry/groovy_grails_support_in_soon" />
        <rdf:li rdf:resource="http://www.adam-bien.com/roller/abien/entry/to_jsf_or_not_to" />
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="http://www.adam-bien.com/roller/abien/entry/you_don_t_need_to">
    <title>Adam Bien: You Don't Need To Think About Transactions If:</title>
    <link>http://www.adam-bien.com/roller/abien/entry/you_don_t_need_to</link>
    <content:encoded>&lt;ol&gt;&lt;li&gt;Your application has no persistence and do not interact with transactional resources like messaging, legacy interfaces etc.&lt;/li&gt;&lt;li&gt;The application is used only by one user in sequential way in a single thread.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;It only reads the data and no one writes or if it only writes the data, and no one reads :-).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The access to persistent storage, backend resources is performed in one (business)
    method. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;You don't need the &amp;quot;Unit Of Work&amp;quot; abstraction. So it is no problem if the application dies between method invocations and the data is partly processed.&lt;/li&gt;&lt;li&gt;It's ok, if other applications, users etc. see the unfinished (uncommitted) activities in their applications.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;You know such an application? :-). I hear from time time statements like: &amp;quot;This is just a report - so I don't need transactions
    - I'm only reading the data&amp;quot;. In this particular case you would access the database without a defined transaction and especially isolation - so you will basically see a snapshot of the database (especially uncommitted changes).&lt;/p&gt;&lt;p&gt;Even if you totally ignore the transactions - you will still get the &amp;quot;Green Bar&amp;quot; in most cases. This is probably the reason, why transactions are often in fact ignored ...until the production :-).&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-29T09:04:23+00:00</dc:date>
  </item>
  <item rdf:about="http://cld.blog-city.com/swing_bits__howto_bind_jtable_to_mysql_table_no_coding_.htm">
    <title>cld: Swing Bits : How-to Bind JTable to MySQL Table (no coding), New TreeTable, Matisse, JSlider, JTabs+Components</title>
    <link>http://cld.blog-city.com/swing_bits__howto_bind_jtable_to_mysql_table_no_coding_.htm</link>
    <content:encoded>There are bunch of Swing bits that are worth looking at. The first is how-to bind a JTable to a MySQL Table without coding. Second, there is a new TreeTable. Third, learning Matisse. Fourth - JSlider tips. Fifth, putting a component on a tab. more..</content:encoded>
    <dc:date>2008-06-29T08:10:00+00:00</dc:date>
  </item>
  <item rdf:about="http://www.adam-bien.com/roller/abien/entry/a_beautiful_java_book_something">
    <title>Adam Bien: A Beautiful Java Book - Something For Your Lunch Break</title>
    <link>http://www.adam-bien.com/roller/abien/entry/a_beautiful_java_book_something</link>
    <content:encoded>&lt;p&gt;I missed somehow this book. It is my first IT-book (almost) without technical content. Instead of learning new stuff, I just enjoyed it and remembered the old JDK 1.0 days. It is a &amp;quot;special edition&amp;quot; book for the Ten Year Celebration Of Java: &lt;a
    href="http://www.amazon.de/gp/redirect.html?ie=UTF8&amp;amp;location=http%3A%2F%2Fwww.amazon.de%2FHello-World-Culture-Celebration-Technology%2Fdp%2F0131888676%3Fie%3DUTF8%26s%3Dbooks-intl-de%26qid%3D1214648172%26sr%3D1-1&amp;amp;site-redirect=de&amp;amp;tag=adambien-21&amp;amp;linkCode=ur2&amp;amp;camp=1638&amp;amp;creative=6742"&gt;Hello World(s)!: From Code to Culture, a Ten Year Celebration of Java Technology&lt;/a&gt;&lt;img height="1" border="0" width="1"
    src="http://www.assoc-amazon.de/e/ir?t=adambien-21&amp;amp;l=ur2&amp;amp;o=3" /&gt;. It comes with lot of pictures and arts - but almost no text. So it is perfect for a lunch break - you can fully read it :-).&lt;br /&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-28T10:53:01+00:00</dc:date>
  </item>
  <item rdf:about="tag:blogger.com,1999:blog-4439135070202734584.post-6606825137840783593">
    <title>NetBeans Community Docs Blog: Wanna play? Play with XML Layer!</title>
    <link>http://nb-community-docs.blogspot.com/2008/06/wanna-play-play-with-xml-layer.html</link>
    <content:encoded>&lt;span&gt;Hi,&lt;br /&gt; &lt;br /&gt; Time to notify you about the latest contributions! Yes, its been a month, where contributions came out-of-the-blue...Seriously, its been a tough time, getting contributions, convincing bloggers, and much more!&lt;br /&gt; &lt;br /&gt; However, we still manage to get &lt;span&gt;&lt;span&gt;14 docs&lt;/span&gt;&lt;/span&gt; for this month. Still &lt;span&gt;2 days to go&lt;/span&gt;, some more docs coming up! Majority of them being,
    &lt;span&gt;tips and Tricks&lt;/span&gt;. Also, we got a series of docs, based on "optional configuration file" used in &lt;span&gt;NetBeans Module Development&lt;/span&gt;- &lt;span&gt;XML Layer&lt;/span&gt;! One of them getting reposted from &lt;a href="http://netbeans.dzone.com/tips/play-with-xml-layer"&gt;&lt;span&gt;NetBeans Zone&lt;/span&gt;&lt;/a&gt;! There were numerous &lt;span&gt;tutorials, tips and Tricks, How To's&lt;/span&gt; summing up into &lt;span&gt;Eight
    docs&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt; in totality&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt; &lt;span&gt;&lt;br /&gt; If you are interested, then come, join us and contribute! Its really easy, if you learn a trick, while working with NetBeans on any kind of project OR you have some tips to remember...Hey, maybe you want to write a tutorial to help community achieve something in few steps!&lt;br /&gt; &lt;br /&gt; What are you waiting for? Just drop a mail to me, about your idea-
    &lt;span&gt;nvarun AT NetBeans DOT org&lt;/span&gt; We would be glad to have your idea turn into a neat documentation for community :-)&lt;br /&gt; &lt;br /&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;NetBeans Community Docs&lt;/div&gt;</content:encoded>
    <dc:date>2008-06-28T06:47:42+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/alexismp/entry/offre_combin%C3%A9_mysql_glassfish">
    <title>Bistro!: Offre combinée MySQL + GlassFish</title>
    <link>http://blogs.sun.com/alexismp/entry/offre_combin%C3%A9_mysql_glassfish</link>
    <content:encoded>&lt;p&gt; A l'heure ou d'autres &lt;a href="http://www.infoworld.com/article/08/06/19/Oracle_raises_prices_significantly_for_some_products_1.html"&gt;augmentent leur prix&lt;/a&gt; indexé sur le nombre de coeurs de vos processeurs, Sun vous propose une &lt;a href="http://www.sun.com/software/products/mysql/getit_glassfish.jsp"&gt;offre illimitée&lt;/a&gt; (plus de problème de nombre de serveurs, de CPU, d'applications). Annonce de presse &lt;a
    href="http://www.sun.com/aboutsun/pr/2008-06/sunflash.20080627.1.xml"&gt;ici&lt;/a&gt;. &lt;/p&gt; &lt;p&gt; Pour une entreprise de moins de 1 000 employés, il en coûtera $65 000/an pour un usage illimité. Pour un support 24/7, $80 000/an. &lt;/p&gt; &lt;p&gt; Si vous n'avez jamais entendu parlé de &lt;a href="http://glassfish.org"&gt;GlassFish&lt;/a&gt;, en &lt;a href="http://nettalk.sun.com/bhive/c/1000/1461/index.html"&gt;10 minutes de vidéo&lt;/a&gt; vous saurez presque tout. Pour MySQL je
    n'imagine même pas que ce soit le cas! &lt;/p&gt;</content:encoded>
    <dc:date>2008-06-27T20:07:21+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/geertjan/entry/user_faq_search_inside_netbeans">
    <title>Geertjan's Blog: User FAQ Search Inside NetBeans IDE</title>
    <link>http://blogs.sun.com/geertjan/entry/user_faq_search_inside_netbeans</link>
    <content:encoded>&lt;a href="http://netbeans.dzone.com/news/searching-netbeans-zone-inside"&gt;Over on NetBeans Zone today&lt;/a&gt;, I speculated about one interesting scenario that is possible in relation to the new Quick Search feature&amp;#8212;plugging the &lt;a href="http://wiki.netbeans.org/NetBeansUserFAQ"&gt;NetBeans User FAQs&lt;/a&gt; into the Quick Search. Well, I figured out how to do it and this would be the result: &lt;p&gt;&lt;img
    src="http://blogs.sun.com/geertjan/resource/userfaq-search-in-nb-1.png" border="1" /&gt; &lt;p&gt;So, the user would be curious about CVS in NetBeans IDE. The user would then type "CVS" and get (1) all the related FAQs, as well as (2) the action for opening the CVS window. Many similar results could be imagined, combining actions (and types) in the IDE with FAQs which, when clicked, would open in the browser. &lt;p&gt;The parsing code is very slightly different, i.e., just the code in bold below is
    different to that found on NetBeans Zone: &lt;p&gt;&lt;pre&gt;Document doc = tidy.parseDOM(url.openStream(), null); //Get all "a" elements: NodeList list = doc.getElementsByTagName("a"); //Get the number of elements: int length = list.getLength(); //Loop through all the "a" elements: for (int i = 0; i length; i++) { String href = null; if (null != list.item(i).getAttributes().getNamedItem("href")) { //Get the "href" attribute from the current "a" element: href =
    list.item(i).getAttributes().getNamedItem("href").getNodeValue(); } &lt;b&gt;//Get the the node value, i.e., &amp;lt;a href="foo"&gt;value&amp;lt;/a&gt;: if (null != list.item(i).getChildNodes().item(0)) { String title = list.item(i).getChildNodes().item(0).getNodeValue();&lt;/b&gt; //If the node value matches the requested text: if (title.toLowerCase().indexOf(request.getText().toLowerCase()) != -1) { //Add the runnable and the title to the response //and return if nothing is added: if
    (!response.addResult(new OpenFoundArticle(href), title)) { return; } } } }&lt;/pre&gt; &lt;p&gt;Now imagine if we plugged the &lt;a href="http://wiki.netbeans.org/NetBeansDeveloperFAQ"&gt;NetBeans Developer FAQ&lt;/a&gt; into the Quick Search feature too. You'd be able to get a lot of information from searches that combined both these FAQs. Then add tutorials, community docs, and NetBeans Zone. For very little work the user would end up with an incredibly powerful search mechanism across all our
    documentation... and all of it right inside the IDE, with the Quick Search constantly only a Ctrl-I click away.&lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-27T17:27:18+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/NetBeansSupport/entry/the_third_annual_silicon_valley">
    <title>NetBeans Support Weblog: Silicon Valley Ruby Conference</title>
    <link>http://blogs.sun.com/NetBeansSupport/entry/the_third_annual_silicon_valley</link>
    <content:encoded>&lt;p&gt;&lt;i&gt;The Third Annual Silicon Valley Ruby Conference: Using Ruby and Rails for Innovation and Creativity &lt;/i&gt;&lt;/p&gt; &lt;div align="left"&gt; &lt;p&gt;&lt;i&gt;&lt;b class="moz-txt-star"&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="moz-txt-star"&gt;Friday April 18 8:30AM - 5:45PM and Saturday April 19 10:00AM - 6:00PM&lt;/span&gt;&lt;/i&gt;&lt;/p&gt; &lt;p&gt;&lt;i&gt;&lt;span class="moz-txt-star"&gt;Registration Link: &lt;a
    href="http://www.sdforum.org/Ruby"&gt;http://www.sdforum.org/Ruby&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt; &lt;/div&gt; &lt;br /&gt; &lt;h4&gt;Program Overview: &lt;/h4&gt; This two-day conference is a significant Web 2.0 Conference in the Ruby community and within the software development arena. This annual event brings Ruby and Rails developers, interactive engineers, software developers, startups, IT managers, and technical executives together in San Jose. In the past three years, Ruby
    has become one of the most talked-about programming languages, and Ruby on Rails has become the framework of choice for many new web applications. &lt;br /&gt; &lt;br /&gt; Among the topics of the two day conference are How To: &lt;br /&gt; &lt;ul&gt; &lt;li&gt;Harness the potential and power of Ruby, including best practices &lt;/li&gt; &lt;li&gt;Optimize the performance of Ruby and related open source technologies &lt;/li&gt; &lt;li&gt;Learn and use the newest features in Ruby 1.9 and Rails 2.0
    releases &lt;/li&gt; &lt;li&gt;Build affordable high performance and scalable solutions using Ruby &lt;/li&gt; &lt;li&gt;Learn from experts who build successful Ruby in both the startup and enterprise spaces &lt;/li&gt; &lt;li&gt;Explore the latest Ruby on Rails development in social networking platform &lt;/li&gt; &lt;li&gt;Learn from Ruby Early Adopters and understand what’s happening with Ruby in the enterprise. &lt;/li&gt; &lt;/ul&gt; &lt;h4&gt;&lt;b class="moz-txt-star"&gt;&lt;span
    class="moz-txt-tag"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h4&gt; &lt;h5&gt; &lt;/h5&gt; &lt;h4&gt;&lt;b class="moz-txt-star"&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;Confirmed Speakers Include&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/b&gt;: &lt;/h4&gt; &lt;blockquote&gt;Tim Bray-Sun-“The Rubies in Context” &lt;br /&gt;&lt;br /&gt;Blaine Cook- Twitter&lt;br /&gt;&lt;br /&gt;Joel Dudley, &lt;span class="moz-txt-star"&gt;&lt;span
    class="moz-txt-tag"&gt;&lt;/span&gt;Stanford&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ryan Garver-*ELC- “Ruby features for Open Social Networking”&lt;br /&gt;&lt;br /&gt;Jason Hoffman-Joyent&lt;br /&gt;&lt;br /&gt;Anant Jhingran- &lt;span class="moz-txt-star"&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;IBM&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Jon Lam- &lt;span class="moz-txt-star"&gt;&lt;span
    class="moz-txt-tag"&gt;&lt;/span&gt;Microsoft&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/span&gt;--The Borg discovers Ruby and Open Source&amp;quot;&lt;br /&gt;&lt;br /&gt;Alex Le, &lt;span class="moz-txt-star"&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;Friends for Sale&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span class="moz-txt-star"&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="moz-txt-star"&gt;James
    Lindenbaum&lt;/span&gt;&lt;span class="moz-txt-star"&gt;, Heroku&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Parker Thompson, Pivotal Labs - DRYing Up Application Development: Components That Don't Suck &lt;br /&gt;&lt;br /&gt;Adam Wiggins, Heroku&lt;br /&gt;&lt;/blockquote&gt; &lt;h4&gt;Event Logistics&lt;/h4&gt; &lt;b class="moz-txt-star"&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;Location&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/b&gt;: The Tech
    Museum, 201 South Market St. San Jose, Ca 95113 &lt;br /&gt;*Price:* $219 SDForum Members, $269 Non-members, $50 Platinum Pass &lt;br /&gt; &lt;br /&gt;&lt;b class="moz-txt-star"&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;Registration Link: &lt;a href="http://www.sdforum.org/Ruby"&gt;http://www.sdforum.org/Ruby&lt;/a&gt;&lt;span class="moz-txt-tag"&gt;&lt;/span&gt;&lt;/b&gt;</content:encoded>
    <dc:date>2008-06-27T17:11:39+00:00</dc:date>
  </item>
  <item rdf:about="http://cld.blog-city.com/developer_platform__opensolaris_video.htm">
    <title>cld: Developer Platform : OpenSolaris (video)</title>
    <link>http://cld.blog-city.com/developer_platform__opensolaris_video.htm</link>
    <content:encoded>This is an interesting presentation by Sun technologist Roman Shaposhnik which has lots of good points and counter-points on developer operating system environments. More....</content:encoded>
    <dc:date>2008-06-27T16:59:00+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/NetBeansSupport/entry/populating_jtable_from_mysql_database">
    <title>NetBeans Support Weblog: Binding JTable with MySQL table</title>
    <link>http://blogs.sun.com/NetBeansSupport/entry/populating_jtable_from_mysql_database</link>
    <content:encoded>&lt;p&gt;I got this inquiry recently. I decided to try it myself. Here, I am showing through screen shots how to bind database table to a JTable. I am using MySQL as that is what was requested. I wanted to highlight how easy it is to use NetBeans to do this task.&amp;nbsp; NetBeans takes care of all the persistence&amp;nbsp; part for you. In fact, I did not have to write any code at all for this. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Here are the steps:&lt;br /&gt; &lt;/p&gt;Create a Java
    Application Project. From main menu File -&gt; New Projects. Choose Java category, and&amp;nbsp; Java&amp;nbsp; Application.&lt;p&gt;&lt;img vspace="0" hspace="0" border="0" align="bottom" src="http://blogs.sun.com/NetBeansSupport/resource/JTableSample_html_m689a4a35.png" /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now delete the Main.java file under Source Packages. This file was automatically created by the wizard for you. Add a new JFrame Form . Right Click Project node -&gt; New -&gt; JFrame
    Form.&lt;/p&gt;&lt;p&gt;&lt;img vspace="0" hspace="0" border="0" align="bottom" src="http://blogs.sun.com/NetBeansSupport/resource/JTableSample_html_mb056532.png" /&gt;&lt;/p&gt;&lt;p&gt;Drag and Drop JTable from the palette on to the designer, as shown below.&lt;/p&gt;&lt;p&gt;&lt;img vspace="0" hspace="0" border="0" align="bottom" src="http://blogs.sun.com/NetBeansSupport/resource/JTableSample_html_53871739.jpg" /&gt;&lt;/p&gt;&lt;p&gt;Now Drag and drop the database Table on to the JTable in the
    designer. To do this, go to the Services tab , and expand the Databases -&gt; Your MySQL database node -&gt; Table, and select the table you want to bind to the JTable. Drag and drop it on to the JTable on the designer.&lt;br /&gt;&lt;br /&gt;&lt;img vspace="0" hspace="0" border="0" align="bottom" src="http://blogs.sun.com/NetBeansSupport/resource/JTableSample2_html_m14f477bc.jpg" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Make sure the MySQL driver jar file is under the libraries node of the project. Build
    and Run the project. when running the project it will ask you to select the main class. This is because we deleted the main class earlier, and we now need to provide the main class to begin execution. Select the default as shown below.&lt;/p&gt;&lt;p&gt;&lt;img vspace="0" hspace="0" border="0" align="bottom" src="http://blogs.sun.com/NetBeansSupport/resource/JTableSample_html_68e2dacb.jpg" /&gt;&lt;/p&gt;&lt;p&gt;Here's the screen shot on running the application.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;img
    vspace="0" hspace="0" border="0" align="bottom" src="http://blogs.sun.com/NetBeansSupport/resource/JTableSample_html_46d85dfe.jpg" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;That's all there is to it. Not a line of code was written. If you browse in the projects window, you'll see the IDE automatically created the Person.java class and persistence.xml files. &lt;br /&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-27T16:55:08+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/NetBeansSupport/entry/directories_in_sun_studio_12">
    <title>NetBeans Support Weblog: Directories in Sun Studio 12</title>
    <link>http://blogs.sun.com/NetBeansSupport/entry/directories_in_sun_studio_12</link>
    <content:encoded>&lt;p&gt;The following are the three (major) directories used by Sun Studio 12 (also referred to as ide in this article).&lt;br /&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt; Installation Directory. The directory where ide is installed and run from.&lt;/li&gt; &lt;li&gt;User Directory. The directory where user settings are stored. (Default: ${HOME}/.sunstudio/sunstudio.conf)&lt;br /&gt;&lt;/li&gt; &lt;li&gt;Projects directory. The directory where a&amp;nbsp; project is stored. Each project has
    its own project directory. &lt;/li&gt; &lt;/ul&gt; &lt;p&gt; &lt;/p&gt; &lt;h3&gt;Recommendations:&lt;br /&gt;&lt;/h3&gt; &lt;ul&gt; &lt;li&gt; Keep the directories separate. For instance, it is possible to create the projects in user directory but not advisable. Keeping the directories separate allows you to get rid of any one of them without loosing other data. For instance, if for some reason, the ide install directory gets corrupted, then the ide can be reinstalled but the existing user settings
    and projects can be reused with the new install. Similarly if the userdir gets corrupted, then the ide can be run with a fresh userdir without the need to reinstall the ide and existing projects can be opened in the ide.&lt;/li&gt; &lt;li&gt;Organize your projects under one master directory. Though the ide itself does not enforce this (and correctly so), you may want to create a top-level folder for all of your projects and arrange your projects within this folder. This may be especially useful when
    the projects have to be maintained in a source control system.&lt;/li&gt; &lt;ul&gt; &lt;li&gt;Keep the sources separate from the project directory, by changing the source folders property in the project properties dialog. This way the project can always be deleted and recreated.&lt;br /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;li&gt;If you reinstall the ide and run into issues while running it, the most probable reason is that the older user directory has some conflicting settings; try running the ide with a
    different userdir, as specified in the section below.&lt;/li&gt; &lt;/ul&gt; &lt;h3&gt;User Directory&lt;br /&gt;&lt;/h3&gt; &lt;ul&gt; &lt;li&gt;How to find the current user directory? Run the ide and open the about box (Help | About) and switch to 'Details' tab. You will notice an entry for userdir.&lt;/li&gt; &lt;li&gt;If you are unable to run the ide even: Check the [ideinstalldir]/SUNWspro/prod/etc/sunstudio.conf file.&amp;nbsp;&lt;br /&gt; &lt;/li&gt; &lt;li&gt;Sometimes the user directory may
    get corrupted resulting in strange behaviour (like settings not getting saved etc). In such cases, you can delete the user directory. The ide will recreate the directory upon next startup. The downside is all the user settings/options will be lost. All the module updates will also be lost, since updates via update center are usually put in the userdir.&lt;/li&gt; &lt;/ul&gt;&lt;br /&gt;&lt;hr width="100%" size="2" /&gt; &lt;p&gt;The above information refers to Studio's install and user directories.
    Studio 12 bundles NetBeans 5.5.1 whose install directory is &amp;lt;studio_install_dir&gt;/netbeans-5.5.1 and whose user directory is specified in &amp;lt;studio_install_dir&gt;/netbeans-5.5.1/etc/netbeans.conf (by default ${HOME}/.netbeans/5.5.1). &lt;/p&gt; &lt;p&gt;It is possible to run the bundled NetBeans 5.5.1 by itself but is not recommended. One should always run Studio 12 which will run the bundled NetBeans. Since Studio and its bundled NetBeans use different directories for saving and
    restoting settings, running the bundled NetBeans separately will surely lead to conflicts. As a case in point, if bundled NetBeans is run and its AutoUpdate&amp;nbsp; is invoked, then modules will be dowloaded from update center and installed at NB-userdir. But Studio 12 does not use this user directory; So next time Studio 12 is run, it will not see the updates.&lt;br /&gt;&lt;/p&gt; &lt;p&gt; If there is a need to have both Studio 12 and NetBeans 5.5.1 on the same machine, then one should have a
    separate standalone installation of NetBeans 5.5.1.&lt;br /&gt; &lt;/p&gt; &lt;hr width="100%" size="2" /&gt; &lt;p&gt;Note: Ths article is based on a similar &lt;a href="http://blogs.sun.com/NetBeansSupport/entry/directories_in_netbeans_install_user"&gt;article&lt;/a&gt; written for standalone NetBeans.&lt;br /&gt; &lt;/p&gt;</content:encoded>
    <dc:date>2008-06-27T16:53:53+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/NetBeansSupport/entry/java_web_start_for_standard">
    <title>NetBeans Support Weblog: Java Web Start for Java Applications</title>
    <link>http://blogs.sun.com/NetBeansSupport/entry/java_web_start_for_standard</link>
    <content:encoded>&lt;p&gt;In NetBeans 6.1, the &lt;i&gt;Run&lt;/i&gt; panel of project properties dialog for a standard Java application project has a checkbox titled 'Run with Java Web Start'. If this box is checked, then the ide generates all the necessary artificats (jnlp file) with appropriate entries. The ide also supports testing the configuration by running the app using java web start when the app is run from within the ide (by selecting &lt;i&gt;Run&lt;/i&gt; command from the project's context
    menu). But the ide does not support deploying the app to a web or app server; in fact the ide does not generate war files even. The deployment should be done manually.&lt;/p&gt; &lt;p&gt;Notes:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;The ide does support generating a war file for NetBeans Rich-Client applications (i.e applications based on &lt;a href="http://platform.netbeans.org"&gt;NetBeans platform&lt;/a&gt;), via the project's 'Build JNLP application' context menu item.&lt;br /&gt;&lt;/li&gt; &lt;li&gt;In
    5.0, the javawebstart module was developed as a proof-of-concept (experimental mode) and made available on the Development Update Center for 5.0 for cutting edge users. This initial version did support deployment of standard java apps as documented in its &lt;a href="http://www.netbeans.org/kb/articles/matisse-jaws.html#_7_2"&gt;tutorial&lt;/a&gt;. When the module was integrated into NetBeans itself, the module was re-speced and redesigned; at that point the war-file-generation feature was dropped.
    Starting with NetBeans 5.5, which had the first integrated support for web start, the feature is not available in NetBeans.&lt;/li&gt; &lt;li&gt;Consider adding your comments and/or votes to issue &lt;a href="http://www.netbeans.org/issues/show_bug.cgi?id=137924"&gt;137924&lt;/a&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;The &lt;a
    href="http://hg.netbeans.org/release61/raw-file/4e4d8f99769f/java.helpset/javahelp/org/netbeans/modules/java/helpset/docs/project/csh/proj_j2sestand_props_webstart.html"&gt;online help&lt;/a&gt; for NetBeans 6.1 does clearly say that:&lt;br /&gt;&lt;i&gt;Enable Web Start. If selected, the IDE creates the necessary artifacts to make the application deployable with Java Web Start when you build the application...&lt;br /&gt;All of these properties are used in the creation of the JNLP file, which is file
    used to launch the application...&lt;/i&gt;&lt;br /&gt;But the document doesn't state that deployment should be done manually. This issue is tracked in issue &lt;a href="http://www.netbeans.org/issues/show_bug.cgi?id=136069"&gt;136069&lt;/a&gt; &lt;br /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;The following are the manual steps needed to deploy a standard java project application:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Enable Java Web Start support in the project properties dialog's run panel.&lt;/li&gt; &lt;ul&gt;
    &lt;li&gt;If 'codebase' in the above panel is set to 'Local Execution' : Build the application. The ide generates the required files in the project's 'dist' directory. Copy the entire contents of the dist folder to the appropriate directory in the webserver. For instance, if the context of the app should be '/myjnlpapp' , then do a 'cp -r dist/* &amp;lt;server-docs-root&gt;/webapps/myjnlpapp'.&lt;/li&gt; &lt;li&gt;If 'codebase' in the above panel is set to 'User Defined' : Specify the required context
    (example: 'http://myjnlpapp'). Build the application. The ide generates the required files in the project's 'dist' directory. Copy the entire contents of the dist folder to the appropriate directory in the webserver. For instance, if the context of the app should be '/myjnlpapp' , then do a 'cp -r dist/* &amp;lt;server-docs-root&gt;/webapps/myjnlpapp'. (Or generate the war file manually).&lt;/li&gt; &lt;li&gt;If 'codebase' in the above panel is set to 'Web Application Deployment' : The ide
    automatically sets the codebase as &amp;quot;$$codebase'.&amp;nbsp; Build the project. Follow the steps documented the tutorial at &lt;a href="http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloadservletguide.html"&gt;http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloadservletguide.html&lt;/a&gt; &lt;br /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/ul&gt;&lt;br /&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt;</content:encoded>
    <dc:date>2008-06-27T16:51:49+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/lukas/entry/jazoon_why_i_missed_it">
    <title>Lukas Hasik's Weblog: [Jazoon] Why I missed it</title>
    <link>http://blogs.sun.com/lukas/entry/jazoon_why_i_missed_it</link>
    <content:encoded>&lt;a href="http://jazoon.com"&gt;&lt;img src="http://jazoon.com/dms/jazoon08/header/jazoon-logo/jazoon-logo.gif" /&gt;&lt;/a&gt; &lt;br /&gt; The Jazoon conference ends today. I regret that I couldn't be there. They accepted my proposal for lab session by I had to cancel it. I was really looking forward to give the talk again at Jazoon. And I wanted to see how they improved the conference from last year when it appeared for first time. I was looking forward to meet Carol Hamer who
    agreed to be proctor in the lab (I stole some code from &lt;a href="http://apress.com/book/view/1590598806"&gt;her book "Creating Mobile Games: Using Java ME Platform to Put the Fun into Your Mobile Device and Cell Phone" &lt;/a&gt;for the lab &lt;img src="http://blogs.sun.com/images/smileys/smile.gif" class="smiley" alt=":)" title=":)" /&gt; Actually, she approved me the usage of the code then it means I didn't steal it, right?)&lt;br /&gt;&lt;br /&gt; But I cannot attend. No money, no fun. It seems
    that the Jazoon conference occupies really bad date. It is end of fiscal year. Vacations and summer are starting. And the next year it will be even worse when the Javaone conference will move to June.&lt;br /&gt;</content:encoded>
    <dc:date>2008-06-27T08:26:57+00:00</dc:date>
  </item>
  <item rdf:about="http://cld.blog-city.com/netbeans_ide_61mysql_tutorials__connecting__creating_a_s.htm">
    <title>cld: NetBeans IDE 6.1/MySQL Tutorials : Connecting &amp; Creating a Simple Web App</title>
    <link>http://cld.blog-city.com/netbeans_ide_61mysql_tutorials__connecting__creating_a_s.htm</link>
    <content:encoded>Check out two new NetBeans IDE 6.1 MySQL tutorials that show you how to connect to MySQL via NetBeans and how to use NetBeans within a simple web app. More....</content:encoded>
    <dc:date>2008-06-27T07:22:00+00:00</dc:date>
  </item>
  <item rdf:about="http://www.adam-bien.com/roller/abien/entry/is_ejb_3_the_solution">
    <title>Adam Bien: Is EJB 3 The Solution For The "Multicore Crysis"? (@Stateless and @Stateful)</title>
    <link>http://www.adam-bien.com/roller/abien/entry/is_ejb_3_the_solution</link>
    <content:encoded>&lt;p&gt;During yesterday's excellent talk of &lt;a target="_blank" href="http://www.javaspecialists.co.za/"&gt;Heinz Kabutz&lt;/a&gt; at Jazoon, it turned out, that even the += operator isn't atomic and can cause problems in&amp;nbsp; parallel, multicore, multiprocessor platforms. It doesn't have to be super-parallel - just current commodity hardware can already cause the problems - and you have to synchronized your code (without &lt;font&gt;synchronized
    :-)&lt;/font&gt;).&lt;/p&gt;&lt;p&gt;Nevertheless, because EJB (1.0, 1.1, 2.0, 2.1, 3.0 and probably 3.1) are always executed in a dedicated thread - they appear as single threaded for the developer. For every thread (=user request, transaction) a new EJB instance is created (or reused from pool) - there is actually no shared state, except you access singletons, files etc. - which is not allowed. Actually the spec even prohibits the usage of the synchronization primitives and threading functionality
    inside EJBs. &lt;/p&gt;&lt;p&gt;Furthermore the programming model is rather procedural (or if you will &amp;quot;service oriented&amp;quot;) - so in the @Stateless Session Beans the methods process some input data and give it back to the caller. Even the @Stateful Session Beans do not brake the rule - the container still prohibits concurrent access to the @Stateful instance. Because a @Stateful Session Bean can be only executed in a single thread - you do not have (you shouldn't!) care about the
    threading either.&lt;/p&gt;&lt;p&gt;The best of all: if you acess the JPA-persistence - the container synchronizes the data for you. Every transaction receives a copy of the JPA-entity (it is often implemented in this way), so nothing bad can happen even in this case.&lt;/p&gt;&lt;p&gt;I'm not sure whether there are actually some corner cases - where EJB programming model breaks in multicore environment (except you are violating the spec). Every EJB-instance can be only executed in a single thread. And
    every thread is (hopefully) executed in a single core. So if you keep the transactions short, and do not &amp;quot;hack&amp;quot; the EJBs accessing static variables or singletons - you are on the bright side :-). &lt;br /&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-27T06:45:31+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/janicec/entry/netbeans_tf_community_tshirts">
    <title>Janice Campbell's Weblog: NetBeans L10n Community Tshirts</title>
    <link>http://blogs.sun.com/janicec/entry/netbeans_tf_community_tshirts</link>
    <content:encoded>&lt;p&gt;They have finally arrived! These were designed by the &lt;a href="http://translatedfiles.netbeans.org"&gt;NetBeans global TranslatedFiles&lt;/a&gt; (Localization) Community, which encompasses developers, fans, and students from Africa, Asia, Latin America and Europe! If you are a member of the community, you know how to contact me.&lt;/p&gt; &lt;p&gt;&lt;p&gt;&lt;img src="http://blogs.sun.com/janicec/resource/photos/janice_5392b.JPG" /&gt; &lt;br /&gt; &lt;p&gt;&lt;img
    src="http://blogs.sun.com/janicec/resource/photos/janice_5393b.JPG" /&gt; &lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T22:33:34+00:00</dc:date>
  </item>
  <item rdf:about="http://wiki.apidesign.org/wiki/Blogs#Dependencies_Are_Important_Type_of_API">
    <title>APIDesign - Blogs: Dependencies Are Important Type of API</title>
    <link>http://wiki.apidesign.org/wiki/Blogs#Dependencies_Are_Important_Type_of_API</link>
    <content:encoded>&lt;p&gt;In my yesterday's post I promised to write a note once a week. However, things in real life are never like envisioned in planning phase. Today I stopped in my work and faced a little bit of confusions about &lt;a href="http://en.wikipedia.org/wiki/NetBeans" class="extiw" title="wikipedia:NetBeans"&gt;wikipedia::NetBeans&lt;/a&gt; module dependencies. Some guys wanted the &lt;a href="http://wiki.apidesign.org/wiki/NetBeans_Platform" title="NetBeans Platform"&gt;NetBeans
    Platform&lt;/a&gt; to start to depend on &lt;a href="http://en.wikipedia.org/wiki/batik" class="extiw" title="wikipedia:batik"&gt;wikipedia::batik&lt;/a&gt;. Indeed this is not really desirable. If we want the &lt;a href="http://wiki.apidesign.org/wiki/NetBeans_Platform" title="NetBeans Platform"&gt;NetBeans Platform&lt;/a&gt; to be easily embeddable in other applications, it is not wise to grow our external dependencies over reasonable limit. &lt;/p&gt;&lt;p&gt;As a result I've started the &lt;a
    href="http://wiki.apidesign.org/wiki/APITypes" title="APITypes"&gt;APITypes&lt;/a&gt; page and added a section about dependencies there. &lt;/p&gt;&lt;p&gt;--&lt;a href="http://wiki.apidesign.org/wiki/User:JaroslavTulach" title="User:JaroslavTulach"&gt;JaroslavTulach&lt;/a&gt; 11:56, 16 June 2008 (UTC) &lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T20:10:41+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/octav/entry/build_netbeans_on_opensolaris">
    <title>Octavian Tanase's Weblog: Build NetBeans on OpenSolaris</title>
    <link>http://blogs.sun.com/octav/entry/build_netbeans_on_opensolaris</link>
    <content:encoded>&lt;p&gt;OpenSolaris is on path to become a compelling development environment. Once in a while I use my local installation that runs on my MacBook (under Virtual Box) to experiment with different tasks. Yesterday I tried to build &lt;a href="http://blogs.sun.com/octav/feed/entries/www.netbeans.org"&gt;NetBeans&lt;/a&gt; on OpenSolaris. With that in mind I knew I'll need the JDK (for the compiler), ant to build the sources, mercurial to pull the sources from the NetBeans open source
    repositories, etc.&lt;/p&gt; &lt;p&gt;In a terminal I became root and started looking for packages (e.g. &lt;font&gt;pkg install mercurial&lt;/font&gt; - but this won't work). I found out that at this point the naming is not yet consistent. You can look for software like netbeans or openoffice by name, however for something like mercurial and ant, one has to use SUNWmercurial and SUNWant respectively.&lt;/p&gt; &lt;p&gt;Pulling from the NetBeans repository is simple:&lt;/p&gt; &lt;p&gt;&lt;/p&gt;
    &lt;p&gt;&lt;font&gt;hg clone http://hg.netbeans.org/main&lt;/font&gt;&lt;/p&gt; &lt;p&gt;The next step calls for going into the &lt;font&gt;&amp;lt;nbsourcedir&gt;/main/nbbuild/&lt;/font&gt; directory and looking for build targets using &lt;font&gt;ant -projecthelp&lt;/font&gt;. &amp;quot;All&amp;quot; seemed an intuitive so I tried it. The bad part is that NetBeans requires ant version 1.7.0 and the version I installed earlier was 1.6.5 &lt;img src="http://blogs.sun.com/images/smileys/sad.gif"
    class="smiley" alt=":-(" title=":-(" /&gt;. At this point I gave up and I'll ping the NetBeans &lt;a href="http://www.netbeans.org/community/lists/"&gt;community&lt;/a&gt; for help.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T18:17:52+00:00</dc:date>
  </item>
  <item rdf:about="http://wiki.apidesign.org/wiki/Blogs#Request.2FResponse_Pattern_Revisited">
    <title>APIDesign - Blogs: Request/Response Pattern Revisited</title>
    <link>http://wiki.apidesign.org/wiki/Blogs#Request.2FResponse_Pattern_Revisited</link>
    <content:encoded>&lt;p&gt;&lt;a href="http://wiki.apidesign.org/wiki/TheAPIBook" title="TheAPIBook"&gt;TheAPIBook&lt;/a&gt; explains how &lt;a href="http://wiki.apidesign.org/wiki/APIDesignPatterns:RequestResponse" title="APIDesignPatterns:RequestResponse"&gt;Request/Response&lt;/a&gt; pattern can help to solve the need for growing parameters. However, this is not all the pattern can help with as I have found recently in a discussion with &lt;a href="http://wiki.apidesign.org/wiki/David_%C5%A0imonek"
    title="David Šimonek"&gt;David Šimonek&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;David was just designing new Quick Search API for &lt;a href="http://wiki.apidesign.org/wiki/NetBeans" class="mw-redirect" title="NetBeans"&gt;NetBeans&lt;/a&gt; which was a natural candidate for using the &lt;a href="http://wiki.apidesign.org/wiki/APIDesignPatterns:RequestResponse" title="APIDesignPatterns:RequestResponse"&gt;Request/Response&lt;/a&gt; pattern. However he needed more. He needed support for incremental computation, as
    some of the providers may compute too long. He needed a way to process some of the results as soon as possible, as he wanted to show user first five lines of results as quickly as possible. And also he needed a way to support interruption of already computing tasks, because, as soon as user selects a result of search, it is useless to continue computing additional ones. To our surprise we found the &lt;a href="http://wiki.apidesign.org/wiki/APIDesignPatterns:RequestResponse"
    title="APIDesignPatterns:RequestResponse"&gt;Request/Response&lt;/a&gt; naturally suited for these tasks as well. &lt;/p&gt;&lt;p&gt;This also shows the difference between &lt;a href="http://wiki.apidesign.org/wiki/TheAPIBook" title="TheAPIBook"&gt;TheAPIBook&lt;/a&gt; and this website. The book is printed once, sentenced to contain forever what it contained on the day of publication. But our knowledge is evolving, growing. It is perfect to have a place where we can capture and improve what we know
    about the &lt;a href="http://wiki.apidesign.org/wiki/APIDesignPatterns:RequestResponse" title="APIDesignPatterns:RequestResponse"&gt;Request/Response&lt;/a&gt; pattern... &lt;/p&gt;&lt;p&gt;--&lt;a href="http://wiki.apidesign.org/wiki/User:JaroslavTulach" title="User:JaroslavTulach"&gt;JaroslavTulach&lt;/a&gt; 21:02, 25 June 2008 (UTC)&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T16:21:06+00:00</dc:date>
  </item>
  <item rdf:about="http://wiki.apidesign.org/wiki/Blogs#Book_is_never_Written_by_a_Single_Person">
    <title>APIDesign - Blogs: Book is never Written by a Single Person</title>
    <link>http://wiki.apidesign.org/wiki/Blogs#Book_is_never_Written_by_a_Single_Person</link>
    <content:encoded>&lt;p&gt;The &lt;a href="http://wiki.apidesign.org/wiki/TheAPIBook" title="TheAPIBook"&gt;Practical API Design&lt;/a&gt; book has been send for print over the last weekend. I take it as a good opportunity to say thanks to all the people who helped me write it. The first set of &lt;a href="http://wiki.apidesign.org/wiki/ThanksEveryone" title="ThanksEveryone"&gt;ThanksEveryone&lt;/a&gt; notes is now available and covers those who "manually" contributed. I still need to thank to all those
    support "units" around me - something left for next blog entry... &lt;/p&gt;&lt;p&gt;--&lt;a href="http://wiki.apidesign.org/wiki/User:JaroslavTulach" title="User:JaroslavTulach"&gt;JaroslavTulach&lt;/a&gt; 12:01, 23 June 2008 (UTC) &lt;/p&gt;&lt;p&gt;&lt;br /&gt; &lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T16:21:06+00:00</dc:date>
  </item>
  <item rdf:about="http://wiki.apidesign.org/wiki/Blogs#Entering_the_Blogosphere">
    <title>APIDesign - Blogs: Entering the Blogosphere</title>
    <link>http://wiki.apidesign.org/wiki/Blogs#Entering_the_Blogosphere</link>
    <content:encoded>&lt;p&gt;The publication date for my book is getting closer and closer and to my surprise I am beggining to find out that the work is not over! Quite the opposite is true. I need to do more things now, then I had to during the last month. &lt;/p&gt;&lt;p&gt;Just instead of proof reading the latest versions of book's chapters sent to me by my publisher, I need to create some reasonable online appearance. I've decided to publish the &lt;a href="http://wiki.apidesign.org/wiki/Sources"
    title="Sources"&gt;Sources&lt;/a&gt; for all the example, polish them to a reasonable state, create a wiki site to allow cooperation between people all around the world interested in API Design and also start a &lt;strong class="selflink"&gt;blog&lt;/strong&gt;. &lt;/p&gt;&lt;p&gt;I am new to the blogosphere and I only envision the rules of proper blog publishing. I doubt I'll be able to publish as often as &lt;a href="http://wiki.apidesign.org/wiki/GeertjanWielenga"
    title="GeertjanWielenga"&gt;GeertjanWielenga&lt;/a&gt;, one of my beloved editors, however I'll do my best to add at least one note per week. From my current viewpoint a week looks like a reasonable compromise between the needed time to find at least one interesting event in the API design world and between finding enough time to write that note. &lt;/p&gt;&lt;p&gt;Enough for now, I need to finish the blogging infrastructure. And, unless you have done so by now, do not forget to preorder &lt;a
    href="http://www.apidesign.org" class="external text" title="http://www.apidesign.org" rel="nofollow"&gt;the API book&lt;/a&gt;... &lt;/p&gt;&lt;p&gt;--&lt;a href="http://wiki.apidesign.org/wiki/User:JaroslavTulach" title="User:JaroslavTulach"&gt;JaroslavTulach&lt;/a&gt; 09:33, 15 June 2008 (UTC) &lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T16:21:06+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/alexismp/entry/brussels_tomorrow_friday_27th">
    <title>Bistro!: Brussels tomorrow (Friday 27th)</title>
    <link>http://blogs.sun.com/alexismp/entry/brussels_tomorrow_friday_27th</link>
    <content:encoded>&lt;p&gt; Tomorrow is the yearly JavaOne Afterglow at &lt;a href="http://maps.google.com/maps?f=q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=De+Montil,+Affligem&amp;amp;sll=48.893138,2.213154&amp;amp;sspn=0.007082,0.016136&amp;amp;ie=UTF8&amp;amp;ll=50.906497,4.136353&amp;amp;spn=0.869449,2.06543&amp;amp;z=9"&gt;De Montil, Affligem&lt;/a&gt;. I'll be presenting on the status of GlassFish and the directions as announced at JavaOne last month. See you there! Register &lt;a
    href="http://be.sun.com/sunnews/events/index.jsp"&gt;here&lt;/a&gt;. &lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T13:05:25+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/branajam/entry/connecting_to_a_mysql_database">
    <title>James' Blog: Connecting to a MySQL Database in NetBeans 6.1</title>
    <link>http://blogs.sun.com/branajam/entry/connecting_to_a_mysql_database</link>
    <content:encoded>&lt;p&gt;&lt;img src="http://blogs.sun.com/branajam/resource/connect-mysql-db.png" /&gt;&lt;p&gt; Hi again,&lt;p&gt; Another NetBeans tutorial has been updated for 6.1. The &lt;a href="http://www.netbeans.org/kb/61/ide/mysql.html"&gt;&lt;b&gt;Connecting to a MySQL Database&lt;/b&gt;&lt;/a&gt; tutorial has been updated to reflect the changes in NetBeans IDE 6.1, and there are a lot of changes. The tutorial reflects the increased support for MySQL in NetBeans 6.1 and provides detailed
    instructions for connecting to a MySQL database, creating a MySQL database, etc. Look for even more changes in NetBeans 6.5. &lt;p&gt; Have fun with this one. &lt;p&gt; --James &lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T12:20:46+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/lukas/entry/changing_teams_bye_bye_mobility">
    <title>Lukas Hasik's Weblog: Changing teams - bye, bye, Mobility</title>
    <link>http://blogs.sun.com/lukas/entry/changing_teams_bye_bye_mobility</link>
    <content:encoded>I used to be the quality assurance engineer and later team lead of the QA for last 5 years. I like the product - &lt;a href="http://www.netbeans.org" title="netbeans.org - site of open sourced project NetBeans, the platform independent, java based IDE for java development."&gt;NetBeans&lt;/a&gt; Mobility. I liked the team that was working on it. Unfortunately, I had to leave the team two weeks ago. No, I haven't left SUN. I just moved to the Core&amp;amp;Platform QA. When I started to
    lead both QA teams half a year ago it seemed doable. But later on we discovered that there is not enough resources in the QA team in Prague to cover all the functionality we had been responsible for. We had to pass something to different teams in different SUN's offices. Bye, bye, Mobility, my very loved child. I hope that the new team in St. Petersburg will keep the quality on the same level. Actually, they have to &lt;img src="http://blogs.sun.com/images/smileys/smile.gif" class="smiley" alt=":)"
    title=":)" /&gt; I'm still watching the project. (I didn't mean it offensive...) Good luck to Ivan and Andrei. &lt;br /&gt;&lt;br /&gt; What this change means for me? I'll have more time to focus on only one thing. For now it will be the &lt;a href="http://www.netbeans.org" title="netbeans.org - site of open sourced project NetBeans, the platform independent, java based IDE for java development."&gt;NetBeans&lt;/a&gt; Platform and the Core &lt;a href="http://www.netbeans.org" title="netbeans.org - site
    of open sourced project NetBeans, the platform independent, java based IDE for java development."&gt;NetBeans&lt;/a&gt; functionality. &lt;br /&gt;&lt;br /&gt; What it means for you? I won't blog about Mobility much in future, probably. I'll blog about more about &lt;a href="http://www.netbeans.org" title="netbeans.org - site of open sourced project NetBeans, the platform independent, java based IDE for java development."&gt;NetBeans&lt;/a&gt; Platform and IDE.</content:encoded>
    <dc:date>2008-06-26T11:16:51+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/geertjan/entry/quick_search_api">
    <title>Geertjan's Blog: Quick Search API</title>
    <link>http://blogs.sun.com/geertjan/entry/quick_search_api</link>
    <content:encoded>The &lt;a href="http://wiki.netbeans.org/NewAndNoteWorthyMilestone1NB65"&gt;6.5 Milestone 1 New and Noteworthy document&lt;/a&gt; (which is a work in progress since 6.5 M1 has not yet been released and is scheduled for release during the coming weeks) talks, among many other things, about something called "Quick Search". &lt;p&gt;The description says: "Quickly search for action or type is now easy. Use Ctrl-I." The two related documents are in the &lt;a
    href="http://wiki.netbeans.org/QuickSearch"&gt;Wiki&lt;/a&gt; and on &lt;a href="http://ui.netbeans.org/docs/ui/quicksearch/index.html"&gt;NetBeans.org&lt;/a&gt;. So, wherever you are in the IDE, you're able to press Ctrl-I, then you find that the cursor is in the Quick Search, you type the letter of something you're interested in opening into the Quick Search, and the results are shown: &lt;p&gt;&lt;img src="http://blogs.sun.com/geertjan/resource/quick-search-api-4.png" border="1" /&gt;
    &lt;p&gt;Select an item and the related action is invoked, in the case of the actions, or the type is opened in the editor, in the case of the types. That's all very nice. What's nicer is that there's a new API that lets you plug your own items into the Quick Search functionality. Even better is the fact that there's a new wizard to support this. Take the following steps (using a build from today or later): &lt;ol&gt; &lt;p&gt;&lt;li&gt;Create a new module. &lt;p&gt;&lt;li&gt;Click Ctrl-N to bring up
    the New File dialog and then choose Module Development | Quick Search Provider: &lt;p&gt;&lt;img src="http://blogs.sun.com/geertjan/resource/quick-search-api-1.png" border="1" /&gt; &lt;p&gt;&lt;li&gt;Click Next and then fill out the last step of the template: &lt;p&gt;&lt;img src="http://blogs.sun.com/geertjan/resource/quick-search-api-2.png" border="1" /&gt; &lt;p&gt;&lt;li&gt;Click Finish and then look in the layer.xml file and you should see this: &lt;p&gt;&lt;pre&gt;&amp;lt;filesystem&gt;
    &amp;lt;folder name="QuickSearch"&gt; &amp;lt;folder name="Beatles"&gt; &amp;lt;attr name="command" stringvalue="Beatles"/&gt; &amp;lt;attr name="position" intvalue="0"/&gt; &amp;lt;file name="org-nb-beatles-BeatleSearchProvider.instance"&gt; &amp;lt;attr name="SystemFileSystem.localizingBundle" stringvalue="org.nb.beatles.Bundle"/&gt; &amp;lt;/file&gt; &amp;lt;/folder&gt; &amp;lt;/folder&gt; &amp;lt;/filesystem&gt;&lt;/pre&gt; &lt;p&gt;&lt;li&gt;Then look at the generated class and you should see
    this: &lt;p&gt;&lt;pre&gt;package org.nb.beatles; import org.netbeans.spi.quicksearch.SearchProvider; import org.netbeans.spi.quicksearch.SearchRequest; import org.netbeans.spi.quicksearch.SearchResponse; public class BeatleSearchProvider implements SearchProvider { /** * Method is called by infrastructure when search operation was requested. * Implementors should evaluate given request and fill response object with * apropriate results * * @param request Search request object that contains information
    what to search for * @param response Search response object that stores search results. Note that it's important to react to return value of SearchResponse.addResult(...) method and stop computation if false value is returned. */ public void evaluate(SearchRequest request, SearchResponse response) { //sample code //for (SearchedItem item : getAllItemsToSearchIn()) { // if (isConditionSatisfied(item, request)) { // if (!response.addResult(item.getRunnable(), item.getDisplayName(), // item.getShortcut(),
    item.getDisplayHint())) { // break; // } // } //} } }&lt;/pre&gt; &lt;p&gt;&lt;li&gt;Now begin working with the generated class so that it will do something useful. Begin by setting a dependency on UI Utilities API so that you can use the &lt;tt&gt;URLDisplayer&lt;/tt&gt; class, which will open the browser with the URL to the Wikipedia entry of the selected Beatle, which is simply the little scenario we'll go through below. Then change the class above to the following: &lt;p&gt;&lt;pre&gt;package
    org.nb.beatles; import java.net.MalformedURLException; import java.net.URL; import java.util.logging.Level; import java.util.logging.Logger; import org.netbeans.spi.quicksearch.SearchProvider; import org.netbeans.spi.quicksearch.SearchRequest; import org.netbeans.spi.quicksearch.SearchResponse; import org.openide.awt.HtmlBrowser.URLDisplayer; public class BeatleSearchProvider implements SearchProvider { public void evaluate(SearchRequest request, SearchResponse response) { String[] beatles = {"john",
    "paul", "ringo", "george"}; for (String beatle : beatles) { if (beatle.toLowerCase().indexOf(request.getText().toLowerCase()) != -1) { if (!response.addResult(new BeatleFoundResult(beatle), beatle)) { return; } } } } private static class BeatleFoundResult implements Runnable { private String beatle; public BeatleFoundResult(String beatle) { if (beatle.equals("john")) { this.beatle = "http://en.wikipedia.org/wiki/John_lennon"; } else if (beatle.equals("paul")) { this.beatle =
    "http://en.wikipedia.org/wiki/Paul_McCartney"; } else if (beatle.equals("ringo")) { this.beatle = "http://en.wikipedia.org/wiki/Ringo_Starr"; } else if (beatle.equals("george")) { this.beatle = "http://en.wikipedia.org/wiki/George_Harrison"; } } public void run() { try { URLDisplayer.getDefault().showURL(new URL(beatle)); } catch (MalformedURLException ex) { Logger.getLogger(BeatleSearchProvider.class. getName()).log(Level.SEVERE, null, ex); } } } }&lt;/pre&gt; &lt;p&gt;&lt;li&gt;Install it (do a
    restart if installing into the development IDE) and then press Ctrl-I anywhere and you'll find the cursor in the Quick Search field where you can start typing. If the letter you type is anywhere in one of the items you added to the Quick Search, the item is shown. So here I typed "o", which is found in "john", "ringo", and "george", but not in "paul": &lt;p&gt;&lt;img src="http://blogs.sun.com/geertjan/resource/quick-search-api-3.png" border="1" /&gt; &lt;p&gt;Select the item, the browser opens,
    displaying the Wikipedia entry on the selected Beatle. &lt;p&gt;&lt;li&gt;Once you've selected an item, it is automatically stored in the "Recent Searches" category, so that it is easier to see next time you do a quick search. &lt;/li&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/p&gt;&lt;/p&gt;&lt;/li&gt;&lt;/p&gt;&lt;/li&gt;&lt;/p&gt;&lt;/ol&gt; &lt;p&gt;How useful is it to
    be able to search for the Beatles inside NetBeans IDE? Not very. But this is just a simple example. Imagine that this was not NetBeans IDE, but your own application with its own domain-specific data. Being able to plug relevant parts of that data, or ui from the application itself, into the Quick Search feature could be a pretty powerful aid to your end users.&lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T10:42:38+00:00</dc:date>
  </item>
  <item rdf:about="http://www.adam-bien.com/roller/abien/entry/embedding_glassfish_v3_in_unit">
    <title>Adam Bien: Embedding Glassfish V3 in Unit Test - Two Jars, Three Lines Of Code And Five Seconds Start With Deployment</title>
    <link>http://www.adam-bien.com/roller/abien/entry/embedding_glassfish_v3_in_unit</link>
    <content:encoded>&lt;p&gt;There is already a great &lt;a href="http://blogs.sun.com/arungupta/entry/embeddable_glassfish_in_action_servlet" target="_blank"&gt;blog entry&lt;/a&gt; about using Glassfish v3 in embedded mode (I &amp;quot;reused&amp;quot; some ideaas and even code from the post - this is how web works :-)). It explains the whole process, to install, build and test Glassfish v3 using maven 2. However I just liked to do it without maven - and as easy as possible. To start glassfish you only
    need two jar:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;font&gt;gf-embedded-api-1.0-alpha-4.jar&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font&gt;web-all-10.0-build-20080430.jar&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Having them in the classpath, you can start glassfish v3 just from your code - in process: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;font&gt; GlassFish glassfish = new GlassFish(port);&lt;br /&gt;&lt;/font&gt;It is not only possible to start glassfish in embedded code, it is even possible to
    deploy applications on the fly. The following code does exactly that:&lt;/p&gt;&lt;p&gt;&lt;font&gt;ScatteredWar war = new ScatteredWar(NAME, new File(&amp;quot;src/main/resources&amp;quot;), new File(&amp;quot;src/main/resources/WEB-INF/web.xml&amp;quot;),&amp;nbsp;&amp;nbsp; Collections.singleton(new File(&amp;quot;build/classes&amp;quot;).toURI().toURL()));&lt;br /&gt;glassfish.deploy(war);&lt;/font&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;p&gt;...and the full test code:
    &lt;/p&gt;&lt;/p&gt;&lt;p&gt;&lt;font&gt;import org.glassfish.embed.GlassFish;&lt;br /&gt;import org.glassfish.embed.ScatteredWar;&lt;br /&gt;//and other obvious imports&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font&gt;public class HelloServletTest{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;private final String NAME = &amp;quot;AppTest&amp;quot;;&lt;br /&gt;public static int port = 9999;&lt;br /&gt;&lt;br /&gt;private GlassFish glassFish;&lt;br /&gt;&lt;br
    /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Before&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void bootGlassfish() throws Exception{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.glassFish = newGlassFish(port);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertNotNull(this.glassFish);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Test&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public
    void testServlet() throws Exception {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; URL url = new URL(&amp;quot;http://localhost:&amp;quot; + port + &amp;quot;/&amp;quot; + NAME + &amp;quot;/HelloServlet&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BufferedReader br = new BufferedReader(&lt;br
    /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new InputStreamReader(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url.openConnection().getInputStream()));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals(&amp;quot;Hallo from
    servlet&amp;quot;, br.readLine());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private GlassFish newGlassFish(int port) throws Exception {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GlassFish glassfish = new GlassFish(port);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ScatteredWar war = new ScatteredWar(NAME,&lt;br
    /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new File(&amp;quot;src/main/resources&amp;quot;),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new File(&amp;quot;src/main/resources/WEB-INF/web.xml&amp;quot;),&lt;br
    /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Collections.singleton(new File(&amp;quot;build/classes&amp;quot;).toURI().toURL()));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; glassfish.deploy(war);&lt;br /&gt;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(&amp;quot;Ready ...&amp;quot;);&lt;br
    /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return glassfish;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @After&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void shutdown(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.glassFish.stop();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    }&lt;/font&gt;&lt;/p&gt;&lt;p&gt;The unit test is only a sample, in general I woul start glassfish in the static @BeforeClass method - for one test it is good enough.&lt;br /&gt;Glassfish v3 is not production ready yet - but it becomes more and more interesting for development. Cannot wait for embeddable EJB 3 containers :-).&lt;/p&gt;&lt;p&gt;I checked in the whole project (with servlet, glassfish jars and the unit test) into the &lt;a target="_blank" href="http://p4j5.dev.java.net"&gt;p4j5&lt;/a&gt;.
    The project name is: EmbeddedGlassfishWeb. The remaining question is: from where I have this two jars - the answer is simple: from the maven repository :-).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So, and I'm going to present this stuff now&amp;nbsp; - I'm at &lt;a href="http://jazoon.com/jazoon08/en/conference/presentationdetails.html?type=sid&amp;amp;detail=2562" target="_blank"&gt;Jazoon&lt;/a&gt; :-).&lt;br /&gt; &lt;/p&gt;</content:encoded>
    <dc:date>2008-06-26T10:02:00+00:00</dc:date>
  </item>
  <item rdf:about="tag:blogger.com,1999:blog-23809956.post-8123532513806982221">
    <title>Amit Kumar Saha's Blog: NetBeans plugin: Folder to HTML</title>
    <link>http://amitksaha.blogspot.com/2008/06/netbeans-plugin-folder-to-html.html</link>
    <content:encoded>I came across this plugin "&lt;b&gt;Folder to HTML&lt;/b&gt;" in a &lt;i&gt;development build &lt;/i&gt;of the NetBeans IDE. This plugin dumps your entire project structure into a nice looking HTML representation.&lt;br /&gt;&lt;br /&gt;Read more at &lt;a href="http://blogs.sun.com/amitsaha/entry/netbeans_plugin_folder_to_html"&gt;NetBeans plugin: Folder to HTML&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is a screencast for the above plugin: &lt;a
    href="http://www.youtube.com/watch?v=cU0O3m0JrWg" target="_blank"&gt;http://www.youtube.com/watch?v=cU0O3m0JrWg&lt;/a&gt;</content:encoded>
    <dc:date>2008-06-26T07:06:26+00:00</dc:date>
  </item>
  <item rdf:about="http://weblogs.java.net/blog/bleonard/archive/2008/06/introducing_the.html">
    <title>Brian Leonard's Blog: Introducing The Observatory</title>
    <link>http://weblogs.java.net/blog/bleonard/archive/2008/06/introducing_the.html</link>
    <content:encoded>Yesterday Gregg Sporar, Roman Strobl and I launched The Observatory, a blog dedicated to those learning to use OpenSolaris.</content:encoded>
    <dc:date>2008-06-25T21:19:53+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/branajam/entry/securing_a_web_application_in">
    <title>James' Blog: Securing a Web Application in NetBeans 6.1</title>
    <link>http://blogs.sun.com/branajam/entry/securing_a_web_application_in</link>
    <content:encoded>&lt;p&gt;&lt;img src="http://blogs.sun.com/branajam/resource/secure-webapp.png" /&gt;&lt;p&gt; Hi all,&lt;p&gt; Another tutorial is ready for users: Securing a Web Application in NetBeans 6.1. It's a short tutorial in which you configure security authentication using a basic login window and also using a login form in a web page. The tutorial takes you through the steps for creating users on the Tomcat server and GlassFish. After creating the users, you then create the security roles
    by setting the security properties in the deployment descriptor. You also learn how to use JDBC authentication to secure your application when deploying to GlassFish. &lt;p&gt; You can find the tutorial at &lt;a href="http://www.netbeans.org/kb/60/web/security-webapps.html"&gt;http://www.netbeans.org/kb/60/web/security-webapps.html&lt;/a&gt;. &lt;p&gt; It also works for NetBeans 6.0. &lt;p&gt; See you tomorrow. &lt;p&gt; --James
    &lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;</content:encoded>
    <dc:date>2008-06-25T11:32:54+00:00</dc:date>
  </item>
  <item rdf:about="http://blogs.sun.com/alexismp/entry/groovy_grails_support_in_soon">
    <title>Bistro!: Groovy/Grails support in soon-to-come NetBeans 6.5</title>
    <link>http://blogs.sun.com/alexismp/entry/groovy_grails_support_in_soon</link>
    <content:encoded>&lt;p&gt; NetBeans 6.5 Milestone 1 is around the corner and the schedule promises a release date in a few months only. Demo extraordinaire Roman &lt;a href="http://blogs.sun.com/roumen/entry/groovy_grails_added_into_standard"&gt;announces the integration of the Groovy/Grails&lt;/a&gt; plugins in the core of the IDE (not sure how it translates in terms of download bundles) and also tells you about &lt;a href="http://blogs.sun.com/roumen/entry/my_new_role_at_sun"&gt;his new job&lt;/a&gt;
    at Sun. Good luck Roman and folks! &lt;/p&gt;</content:encoded>
    <dc:date>2008-06-25T08:41:54+00:00</dc:date>
  </item>
  <item rdf:about="http://www.adam-bien.com/roller/abien/entry/to_jsf_or_not_to">
    <title>Adam Bien: To JSF Or Not To JSF ...This Is The Question - or Why vi is Not Enough</title>
    <link>http://www.adam-bien.com/roller/abien/entry/to_jsf_or_not_to</link>
    <content:encoded>&lt;ol&gt;&lt;li&gt; Java Server Faces 1.2 are already shipped with every Java EE 5 server - so before you are choosing a more esotheric framework, you should at least evaluate JSF. &lt;br /&gt;&lt;/li&gt;&lt;li&gt;JSF are component based - the development model is event-driven and similar to Swing&lt;/li&gt;&lt;ol&gt;&lt;li&gt;A backend object (backing bean) receives the events (just a method)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Bi-directional, declarative Data Binding can be used to
    synchronize the view-components with the backing bean&lt;/li&gt;&lt;li&gt;The backing bean runs on the server - it can access e.g. the EJB 3.0 &lt;b&gt;per Reference&lt;/b&gt;. &amp;quot;Fat Client&amp;quot; programming model is possible :-). This is a huge advantage. No value objects, client objects etc. are required.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Model View Presenter / Model View Controller patterns are easy to implement. The presenters / controllers can be even shared with Swing apps (in theory -
    in practice the views are too different).&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Convenient data conversion for the common types (e.g. from String to int) already happens behind the scenes.&lt;/li&gt;&lt;li&gt;Validation support is already built in.&lt;/li&gt;&lt;li&gt;Navigation / Page Flow are provided and standardized.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Visual tool support for JSF is outstanding. Most of the tools are free e.g. Netbeans 6.1, Oracle JDeveloper, Eclipse with Plugins (e.g. Visual Page
    Designer in WTP 2.0). Some tools (e.g. Netbeans) provide visual support for page flows.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;There are already many &lt;a target="_blank" href="http://www.adam-bien.com/roller/abien/entry/jsf_matrix_most_popular_jsf"&gt;JSF component providers&lt;/a&gt; - many have AJAX support, and are opensource.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;JSF programming with good tool support can be very productive (in my opinion - unbeatable). So it is absolutely possible to build from
    scratch a CRUD app in three minutes (with nice table - sorting included) - without hacking. In case a given JSF provider fully covers your customer's requirements - it's the best choice. Some extensions like &lt;a target="_blank" href="http://shale.apache.org/"&gt;Shale&lt;/a&gt; or &lt;a target="_blank" href="http://wiki.apache.org/myfaces/Tiles_and_JSF"&gt;Tiles&lt;/a&gt;, help you better structuring your application / page flow. However I would only use them if necessary (every jar increases the
    complexity...- and makes the deployment harder).&lt;/p&gt;&lt;p&gt;Nevertheless JSF 1.2 has also a &amp;quot;dark side&amp;quot;:&lt;/p&gt;&lt;ol&gt;&lt;li&gt; The amount of XML-configuration is considerable (therefore tools are absolutely needed - vi, even emacs are not enough :-))&lt;/li&gt;&lt;li&gt;Building custom components requires some deeper knowledge - it is not so simple, as it could be.&lt;/li&gt;&lt;li&gt;Every request is a POST request - you will need some workarounds for bookmarking
    etc.&lt;/li&gt;&lt;li&gt;For more sophisticated applications - you will need to understand the &amp;quot;6 phases&amp;quot; - this can take a day of experimentation to fully understand it.&lt;/li&gt;&lt;li&gt;You will still need JavaScript / AJAX expertise, regardless how good your framework is.&lt;/li&gt;&lt;li&gt;Customizing the look and feel of the visual components, can be time-consuming. Go with the default if possible.&lt;/li&gt;&lt;li&gt;The whole component tree is cached on the server in memory
    - you should plan some performance tests to verify the requirements. In &lt;b&gt;general &lt;/b&gt;the performance is o.k.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;So to JSF Or Not To JSF - I'm a consultant - so the answer is clear: &amp;quot;it depends&amp;quot; :-). If you are building a corporate, enterprise application - JSF are just perfect. On the other hand, if you target is the consumer market, you are probably looking for more flexibility (and probably more effort to build the app then). Already
    looking forward to JSF 2.0 :-).&lt;br /&gt;</content:encoded>
    <dc:date>2008-06-25T08:14:16+00:00</dc:date>
  </item>
</rdf:RDF>
