<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>MyBlog JSF/JPA CRUD</title>
	</head>
	<body>
		<h1>ICEfaces Tutorial Project  
		</h1>
		<div
			style="padding-left: 5px; padding-top: 10px; padding-bottom: 10px; background: #f0f0f0">
			<b><a href="MyJsp.faces">Click here</a> to begin testing this
				example</b>
		</div>
		<h2>
			Description
		</h2>This is a simple example application that uses the ICEfaces (Ajax-enbaled JSF components) and Facelets to design a robust paging and in-lined editing application of customer data. <br><br>To get an indepth understanding of how the data is loaded and manipulated usingthe managed beans in this application, you can use breakpoints in the org.icefaces.ui.SessionBean class for most of the action handlers to get an idea of when and how they are called.<br><br>The rest of the application is implemented using the ICEfaces Ajax-enabled JSF components in the MyJsp.jspx Facelets page.<br><br>This example project is meant to be a companion to the MyEclipse-ICEfaces tutorial available from <em>Help &gt; Help Contents &gt; MyEclipse Learning Center &gt; Web Development &gt; ICEfaces, Ajax for Java EE &gt; MyEclipse ICEfaces Tutorial</em>.<br><br>The ICEfaces MyEclipse integration can be installed from the <em>MyEclipse &gt; Add Features</em> menu:<br><br><img alt="" src="images/myeclipse_add_features.jpg"><br>
		<h2>
			Requirements
		</h2>
		<ul>
			<li> 
 
				MyEclipse 6.0.1 or later</li><li>ICEfaces AJAX Tooling for MyEclipse</li></ul>
		<h2>
			How to Run
		</h2>The easiest way to run the project is after it's been installed from Examples on Demand, is to right-click on it, go down to <em>Debug As</em> and select <em>MyEclipse Server&nbsp; Application</em>.<br><br>If the server-selection screen pops up, simply select the <em>MyEclipse Tomcat server </em>and hit OK. The application server should start up, and open the first page of the<br>application for you.<br><br>NOTE: <em>If you observe an HTTP ERROR 500 or exception on startup, namely:<br>&nbsp;&nbsp;&nbsp; SEVERE: Servlet.service() for servlet jsp threw exception<br>&nbsp;&nbsp;&nbsp; java.net.ConnectException: Connection refused: connect</em><br><br>Then chances are the MyEclipse Derby server did not automatically start up.&nbsp; To fix this issue, please switch to the Servers view in the MyEclipse Perspective, start the MyEclipse Derby server manually and then relaunch the application.<br><br><h2>FAQ</h2><strong>1. Is the database used in this example created automatically or should I create one prior to running this application?</strong><br><br>For 6.0.0 or 6.0.1 installs this should work out of the box. This means that the embedded derby that is in the Server Sandbox that ships with MyEclipse contains all the Schema data that you need to run these examples. <br>If you still see errors like a missing tables on the database, then do the following:<br><ol><li>Go to <em>Window</em> &gt; <em>Preferences</em> &gt; <em>MyEclipse</em> &gt; <em>Servers</em> &gt; <em>Integrated Sandbox</em> &gt; <em>MyEclipse Derby</em></li><li>Click on <em>Restore MyEclipse Derby Driver </em>and <em>Restore Sample Database</em></li><li>Go to your ICEfaces tutorial example and right click and from the context menu choose <em>Properties</em></li><li>Go to <em>MyEclipse</em> &gt; <em>Java Persistence</em></li><li>Make sure that <em>Enable database metadata analysis</em> is checked</li><li>Make sure that the Driver is set to <em>MyEclipse Derby</em></li><li>Make sure that the Catalog/Schema is set to &quot;CLASSICCARS&quot;</li><li>Click on <em>Refresh Metadata</em> </li><li>The project can then be revalidated and this should fix the issue.</li></ol>
		<h2>
			Related Links
		</h2>
		<ul>
			<li> 
 
				MyEclipse JSF Tutorial - <a href="http://www.myeclipseide.com/documentation/quickstarts/jsf/">http://www.myeclipseide.com/documentation/quickstarts/jsf/</a></li><li>MyEclipse JSF Designer Tutorial - <a href="http://www.myeclipseide.com/documentation/quickstarts/jsfdesigner/">http://www.myeclipseide.com/documentation/quickstarts/jsfdesigner/</a></li><li>MyEclipse JSF/JPA MyBlog Demo Application - <a href="http://www.myeclipseide.com/images/tutorials/demos/community_one_2007/community_one_2007.htm">http://www.myeclipseide.com/images/tutorials/demos/community_one_2007/community_one_2007.htm</a></li></ul>
		<h2>
			Feedback
		</h2> 
 
		We hope you found this example project helpful. If you ran into any 
		problems 
		while working with the example project, please feel free to post to 
		our Example 
		Project Forum ( 
		<a href="http://www.myeclipseide.com/PNphpBB2-viewforum-f-54.html">http://www.myeclipseide.com/PNphpBB2-viewforum-f-54.html</a>) 
		and 
		let us know. Also if you had any suggestions for improvements, noticed 
		something 
		wrong or just wanted to ask questions we encourage you to post and let 
		us know! 
	</body>
</html>
