{"id":806,"date":"2008-05-02T09:18:10","date_gmt":"2008-05-02T14:18:10","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle"},"modified":"2008-05-03T01:54:32","modified_gmt":"2008-05-03T06:54:32","slug":"netbeans-61-with-glassfish-mysql-bundle","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle","title":{"rendered":"NetBeans 6.1 with GlassFish, MySQL bundle"},"content":{"rendered":"<p>I couldn&#8217;t resist downloading <a href=\"http:\/\/www.netbeans.org\/\">NetBeans<\/a> 6.1, with GlassFish and the <a href=\"http:\/\/download.netbeans.org\/netbeans\/6.1\/mysql_bundle\/\">MySQL bundle<\/a>, the moment I found out it was released. Pulling it down while at the Star Alliance Gold lounge in Singapore was easy enough, and it only took me an hour (its a pretty big bundle &#8211; 164MB, as opposed to 6.0.1 where it only weighed in at 143MB for the OS X bundle).<\/p>\n<p>Instead of the 4 packages in 6.0.1, I now only see 2 files &#8211; MySQL.prefPane (because we only fixed this in 5.0.51b, which probably didn&#8217;t make the release cut-off &#8211; the included version is 5.0.51a-community), and NetBeans IDE with MySQL.mpkg. The install is slated to take 526MB and takes a good two minutes.<\/p>\n<p>I noticed that it doesn&#8217;t uninstall NetBeans 6.0.1, so my Applications folder now has two versions, including two versions of Glassfish (UR1 from 6.0.1 versus UR2 in 6.1). Upon starting 6.1, it does ask if I&#8217;d like to import settings from a previous version of NetBeans; of course I would.<\/p>\n<p>You are then asked to register. I never looked at registering software as important, but I&#8217;m starting to think a lot more about it. One has to provide value, for a user to register &#8211; and we&#8217;ll explore this in another blog post. I&#8217;m writing this while on a plane, so it doesn&#8217;t make sense to register, anyway.<\/p>\n<p>The first thing I do? Jump to the Services tab, make a connection to MySQL (look under Drivers -&gt; MySQL (Connector\/J driver)), and play with the sakila sample database.<\/p>\n<div><a title=\"NetBeans IDE 6.1 does queries in a GUI! by byte, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/byte\/2459513998\/\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/farm3.static.flickr.com\/2074\/2459513998_e31bbbda6b_m.jpg?resize=240%2C105\" alt=\"NetBeans IDE 6.1 does queries in a GUI!\" width=\"240\" height=\"105\" data-recalc-dims=\"1\" \/><\/a><br \/>\n<em>Design a query, using a GUI<\/em><\/div>\n<p>Drill down into tables, find a table name (say, store if using the sakila sample database), drill down into a row, like store_id, right-click, and select Design Query. Now, feel free to drag tables and drop them, only to find that it now helps you create an ER diagram of your tables, while helping you design an appropriate query!<\/p>\n<div><a title=\"NetBeans IDE 6.1 does ER diagrams too! by byte, on Flickr\" href=\"http:\/\/www.flickr.com\/photos\/byte\/2459515640\/\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/farm4.static.flickr.com\/3112\/2459515640_4c05c92536_m.jpg?resize=240%2C88\" alt=\"NetBeans IDE 6.1 does ER diagrams too!\" width=\"240\" height=\"88\" data-recalc-dims=\"1\" \/><\/a><br \/>\n<em>ER diagrams for free<\/em><\/p>\n<\/div>\n<p>Play with the database tool a lot more. It looks like its got plenty of potential. It also looks like NetBeans is a great IDE for all your web development needs (PHP included). I&#8217;m certainly going to use it a lot more, even though I&#8217;m notably a <tt>vim<\/tt> guy.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20NetBeans%206.1%20with%20GlassFish%2C%20MySQL%20bundle&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F05%2F02%2Fnetbeans-61-with-glassfish-mysql-bundle&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"040fa762ef\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-806\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-806\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-806\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>I couldn&#8217;t resist downloading NetBeans 6.1, with GlassFish and the MySQL bundle, the moment I found out it was released. Pulling it down while at the Star Alliance Gold lounge in Singapore was easy enough, and it only took me an hour (its a pretty big bundle &#8211; 164MB, as opposed to 6.0.1 where it [&hellip;]<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20NetBeans%206.1%20with%20GlassFish%2C%20MySQL%20bundle&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2008%2F05%2F02%2Fnetbeans-61-with-glassfish-mysql-bundle&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"040fa762ef\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-806\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-806\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-806\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/02\/netbeans-61-with-glassfish-mysql-bundle?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[23],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-d0","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":841,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/06\/17\/mysql-rocks-wen-huang-in-makati-city-philippines","url_meta":{"origin":806,"position":0},"title":"MySQL Rocks: Wen Huang, in Makati City, Philippines","date":"17\/6\/2008","format":false,"excerpt":"I'm at the Sun Tech Days in beautiful Philippines, and all I can say is the energy is tremendous. I'm hearing there are about 1,400 attendees, and this number might grow tomorrow. Armed with a video camera, I decided to take a few video snapshots. My first victimguest on my\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":998,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/09\/03\/student-reviews-contest","url_meta":{"origin":806,"position":1},"title":"Student Reviews Contest","date":"3\/9\/2008","format":false,"excerpt":"Calling all students! Here's an easy way to make USD$500 (grand prize), or USD$250 (five runners up). All you have to do is use the MySQL database (5.1) and the GlassFish application server (v2 Update Release 2) to develop a cool web application and write a review of your experience\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":821,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/05\/27\/students-opensolaris-netbeans-blogging-contest","url_meta":{"origin":806,"position":2},"title":"Students: OpenSolaris, NetBeans blogging contest","date":"27\/5\/2008","format":false,"excerpt":"As some of you would have recently noticed, I've started playing around (I can't really say using, seeing that its still not a daily basis kind of thing for me yet) with OpenSolaris and NetBeans. Now, Sun is encouraging students to use, review, and blog about these two great products\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":838,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/06\/14\/mysql-at-the-sun-tech-days-philippines","url_meta":{"origin":806,"position":3},"title":"MySQL at the Sun Tech Days, Philippines","date":"14\/6\/2008","format":false,"excerpt":"In what I think must be MySQL's first time in the Philippines, there will be a presence there next week. Well, its not the first time, but in terms of a community\/developer event, I think it might be. The Sun Tech Days is happening from 17-19 June 2008, in the\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":854,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/07\/08\/sun-developer-days-singapore-mysql-meetup","url_meta":{"origin":806,"position":4},"title":"Sun Developer Days Singapore, MySQL Meetup","date":"8\/7\/2008","format":false,"excerpt":"In addition to having the Malaysia University Days, there's something brewing in Singapore too. First up, there is the Singapore MySQL Meetup Group, having a meeting in July, at a new location (Sun Solutions Centre, Central Mall). Confirm your attendance for a meetup at 7pm on Monday, July 14 2008.\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":853,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/07\/07\/malaysia-university-days","url_meta":{"origin":806,"position":5},"title":"Malaysia University Days","date":"7\/7\/2008","format":false,"excerpt":"Here's a packed schedule. There will be a Sun crew visiting these universities between 16-17 July 2008. Will you be there? Where you'll meet the rock stars: Wednesday, 16 July 2008, 9am - noon: Multimedia University, Cyberjaya Wednesday, 16 July 2008, 2pm - 5pm: Universiti Teknologi MARA, Shah Alam Thursday,\u2026","rel":"","context":"In &quot;MySQL&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/806"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=806"}],"version-history":[{"count":0,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/806\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=806"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}