<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Bark Blog &#187; Java</title>
	<atom:link href="http://bark.metacasa.net/category/geekery/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://bark.metacasa.net</link>
	<description>Random musings from the earthy depths.</description>
	<lastBuildDate>Tue, 02 Mar 2010 18:23:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8220;Database Explorer&#8221; versus &#8220;Data Source Explorer&#8221;</title>
		<link>http://bark.metacasa.net/2006/07/18/database-explorer-versus-data-source-explorer/</link>
		<comments>http://bark.metacasa.net/2006/07/18/database-explorer-versus-data-source-explorer/#comments</comments>
		<pubDate>Tue, 18 Jul 2006 12:42:49 +0000</pubDate>
		<dc:creator>Umberdog</dc:creator>
				<category><![CDATA[Eclipse]]></category>

		<guid isPermaLink="false">http://bark.metacasa.net/2006/07/18/database-explorer-versus-data-source-explorer/</guid>
		<description><![CDATA[Seems like a simple question, and after a bit of digging, it does have a simple answer.  The latest Eclipse 3.2 release, after upgrading with Callisto, contains two parallel database components.  The first one was developed out of necessity for the Web Tools Platform (WTP), to enable a graphical interface for J2EE development. [...]]]></description>
			<content:encoded><![CDATA[<p>Seems like a simple question, and after a bit of digging, it does have a simple answer.  The latest <a href="http://download3.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/index.php">Eclipse 3.2 release</a>, after upgrading with <a href="http://www.eclipse.org/callisto/">Callisto</a>, contains two parallel database components.  The first one was developed out of necessity for the <a href="http://eclipse.org/webtools/">Web Tools Platform (WTP)</a>, to enable a graphical interface for J2EE development.  The second one is a more generic project, the <a href="http://www.eclipse.org/datatools/">Data Tools Platform (DTP)</a>, to create a broad interface for interacting with all sorts of data sources.  The WTP component supports database-specific connections, while the DTP supports generic data source connections which happens to include databases.</p>

<p>The problem is that WTP needed to interact with databases before DTP was available, so its database interface mirrors the functionality in DTP.  Although <a href="http://wiki.eclipse.org/index.php/Web_Tools_Requirements_2.0#DTP">plans exist to merge the two</a>, the timeline for that drags into next year, targeting the yet-to-be-started Eclipse 3.3.</p>

<p><span id="more-15"></span></p>

<p>So we&#8217;re stuck with both database interfaces, which don&#8217;t interact with each other, and don&#8217;t share JDBC connection setups.  To summarize, DTP offers the more generic <em>Data Source Explorer</em> view.  The <a href="http://www.eclipse.org/birt/phoenix/">BIRT reporting tool</a> seems to be the main user of DTP.  You can set up a database connection in Data Source Explorer, but it won&#8217;t be accessible to any J2EE development you&#8217;re doing with the WTP tools.</p>

<p>With WTP, which you need for JSP, JSF, and EJB development, you&#8217;ll need to use the <em>Database Explorer</em> view.  For example, to set up a MySQL connection, you would open the Database Explorer view, right-click (or Ctrl-click on Mac) the Connections icon and choose <em>New Connection</em>; then select a MySQL database manager on the left.  Since no MySQL presets exist yet, go with a <em>JDBC Driver</em> of &#8220;Other&#8221;.  Fill in your MySQL database name, &#8220;com.mysql.jdbc.Driver&#8221; for the <em>JDBC driver class</em>, point <em>Class location</em> to your mysql-connector-java-3.1.x-bin.jar file, and set the <em>Connection URL</em> to something like &#8220;jdbc:mysql://localhost:3306/mydb&#8221;.  With that, your database connection should be available to all your WTP tools, like JSF, Dali, and so on.</p>

<p>In a later post, I&#8217;ll dive into <a href="http://www.eclipse.org/dali/">the Dali JPA plugin</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bark.metacasa.net/2006/07/18/database-explorer-versus-data-source-explorer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse 3.2 and Callisto</title>
		<link>http://bark.metacasa.net/2006/06/30/eclipse-32-and-callisto/</link>
		<comments>http://bark.metacasa.net/2006/06/30/eclipse-32-and-callisto/#comments</comments>
		<pubDate>Sat, 01 Jul 2006 02:04:45 +0000</pubDate>
		<dc:creator>Umberdog</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://bark.metacasa.net/2006/06/30/eclipse-32-and-callisto/</guid>
		<description><![CDATA[At long last, the officially stable version of Eclipse 3.2 is out.  Honestly, I haven&#8217;t been using Eclipse much lately.  TextMate is so much more flexible, clean, and lightweight&#8230;ditto for Ruby on Rails.

On the other hand, as soon as you start digging into Java and J2EE, you hit a maelstrom of boilerplate java [...]]]></description>
			<content:encoded><![CDATA[<p>At long last, the officially stable version of <a href="http://download3.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/index.php">Eclipse 3.2</a> is out.  Honestly, I haven&#8217;t been using Eclipse much lately.  <a href="http://macromates.com/">TextMate</a> is so much more flexible, clean, and lightweight&#8230;ditto for <a href="http://rubyonrails.com">Ruby on Rails</a>.</p>

<p>On the other hand, as soon as you start digging into Java and J2EE, you hit a maelstrom of boilerplate java code and XML config files &#8212; all the cumbersome repetition that Rails works hard to minimize.  In this department, Eclipse does a good job.  It offers top notch code completion (which TextMate as a more general purpose text editor isn&#8217;t equipped to handle), graphical editors and a huge selection of plugins.</p>

<p>Finally with this release, the J2EE platform is looking healthy and strong, including brand new <a href="http://www.eclipse.org/webtools/jsf/">support for JavaServer Faces</a> and EJB 3.0-style persistence code generation with the new <a href="http://www.eclipse.org/dali/">Dali</a>.  The <a href="http://www.eclipse.org/callisto/">Callisto Project</a> is a worthy effort to gather 10 big Eclipse projects together, test them as a unit, and release them in a single rollout.  Eclipse also has a nice upgrade feature that lets you pull the entire Callisto plugin codebase with a few easy clicks.  Well done guys!</p>

<p>While Rails will always be more sane and fun than J2EE web development, at least JSF and <a href="https://facelets.dev.java.net/">Facelets</a> is a step in the right direction, removing a lot of the complexity and gritty low-level hackery typically required for Java web sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://bark.metacasa.net/2006/06/30/eclipse-32-and-callisto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
