<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-30033081</id><updated>2011-12-15T02:42:25.912Z</updated><title type='text'>Bruno Aranda's JSF Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://brunoaranda.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://brunoaranda.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bruno Aranda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-30033081.post-3823788960198425075</id><published>2007-11-17T20:53:00.001Z</published><updated>2007-11-17T21:11:29.493Z</updated><title type='text'>Debugging a web application with IntelliJ IDEA, Maven and the jetty plugin</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;Today I was doing some development in the most recent build of IntelliJ IDEA (found &lt;a href="http://www.jetbrains.net/confluence/display/IDEADEV/Selena+EAP"&gt;here&lt;/a&gt;), and toying with it I have found a quick way to debug any web application which is built using Maven.&lt;br /&gt;It is a must in my developments to use the jetty maven plugin, so I can just start the application using:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mvn jetty:run&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And then edit my pages and stuff without having to restart, or deploy to external web containers. To do that you just need to declare the jetty plugin in your POM file:&lt;br /&gt;&lt;br /&gt;&amp;lt;plugin&gt;&lt;br /&gt; &amp;nbsp; &amp;lt;groupId&gt;org.mortbay.jetty&amp;lt;/groupId&gt;&lt;br /&gt; &amp;nbsp; &amp;lt;artifactId&gt;maven-jetty-plugin&amp;lt;/artifactId&gt;&lt;br /&gt; &amp;nbsp; &amp;lt;version&gt;6.1.2&amp;lt;/version&gt;&lt;br /&gt;    &amp;nbsp; &amp;lt;configuration&gt;&lt;br /&gt;    &amp;nbsp;   &amp;nbsp;    &amp;lt;connectors&gt;&lt;br /&gt;    &amp;nbsp;   &amp;nbsp;        &amp;lt;connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"&gt;&lt;br /&gt;&amp;nbsp;   &amp;nbsp;   &amp;nbsp;   &amp;nbsp;            &amp;lt;port&gt;8080&amp;lt;/port&gt;&lt;br /&gt;&amp;nbsp;   &amp;nbsp;   &amp;nbsp;        &amp;lt;/connector&gt;&lt;br /&gt;&amp;nbsp;   &amp;nbsp;    &amp;lt;/connectors&gt;&lt;br /&gt;&amp;nbsp;   &amp;nbsp;    &amp;lt;scanIntervalSeconds&gt;10&amp;lt;/scanIntervalSeconds&gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/configuration&gt;&lt;br /&gt;  &amp;lt;/plugin&gt;&lt;br /&gt;&lt;br /&gt;Open you project with IntelliJ IDEA (it is nice that now you can just open a maven POM as a project!), and then you can use this plugin to start the web application and start debugging right away. To do so:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Create a new Run/Debug configuration (click on the drop down list on the left of the green arrow icon) and "Edit configurations".&lt;/li&gt;&lt;li&gt;Click on the '+' (plus) button and create a new "Maven" configuration.&lt;/li&gt;&lt;li&gt;Give it a name.&lt;/li&gt;&lt;li&gt;In the goals section just put "jetty:run"&lt;/li&gt;&lt;li&gt;And you are good to go!&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Set some breakpoints and you can debug the web application now just clicking on the "debug" button.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30033081-3823788960198425075?l=brunoaranda.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://brunoaranda.blogspot.com/feeds/3823788960198425075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30033081&amp;postID=3823788960198425075' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/3823788960198425075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/3823788960198425075'/><link rel='alternate' type='text/html' href='http://brunoaranda.blogspot.com/2007/11/debugging-web-application-with-intellij.html' title='Debugging a web application with IntelliJ IDEA, Maven and the jetty plugin'/><author><name>Bruno Aranda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30033081.post-446796458810223904</id><published>2007-05-10T21:43:00.000Z</published><updated>2007-05-10T21:51:33.389Z</updated><title type='text'>Myfaces 1.2 - Implementation 100%</title><content type='html'>MyFaces 1.2 is now a reality. The TCK tests has been passed under Geronimo and now it remains the acknowledgement by Sun and the official confirmation that the tests pass. So we will have to wait a bit, but the snapshot of MyFaces 1.2 is usable and can be used for development.&lt;br /&gt;&lt;br /&gt;See the announcement message if you want to use the MyFaces 1.2 snapshot:&lt;br /&gt;&lt;br /&gt;http://www.mail-archive.com/users@myfaces.apache.org/msg37324.html&lt;br /&gt;&lt;br /&gt;Thanks to the community!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30033081-446796458810223904?l=brunoaranda.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://brunoaranda.blogspot.com/feeds/446796458810223904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30033081&amp;postID=446796458810223904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/446796458810223904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/446796458810223904'/><link rel='alternate' type='text/html' href='http://brunoaranda.blogspot.com/2007/05/myfaces-12-implementation-100.html' title='Myfaces 1.2 - Implementation 100%'/><author><name>Bruno Aranda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30033081.post-116012448765191921</id><published>2006-10-06T08:48:00.000Z</published><updated>2006-10-06T08:48:43.346Z</updated><title type='text'>MyFaces 1.2 (JSR-252) being implemented</title><content type='html'>An active effort is being done to have a &lt;a href="http://myfaces.apache.org"&gt;MyFaces&lt;/a&gt; 1.2 implementation,&lt;br /&gt;so we will have it eventually, sooner or later depending on the&lt;br /&gt;participation of the developers/community. It is hard to say when a&lt;br /&gt;release will be done, but all the tasks identified are tagged as&lt;br /&gt;JSR-252 in JIRA. Although the number of tasks can increase, we believe&lt;br /&gt;that almost everything is contained in those taks, so you can estimate&lt;br /&gt;how far are we from releasing MyFaces 1.2... hopefully this might be in a few weeks!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30033081-116012448765191921?l=brunoaranda.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://brunoaranda.blogspot.com/feeds/116012448765191921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30033081&amp;postID=116012448765191921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/116012448765191921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/116012448765191921'/><link rel='alternate' type='text/html' href='http://brunoaranda.blogspot.com/2006/10/myfaces-12-jsr-252-being-implemented.html' title='MyFaces 1.2 (JSR-252) being implemented'/><author><name>Bruno Aranda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30033081.post-115126028764787236</id><published>2006-06-25T18:29:00.000Z</published><updated>2006-06-25T18:32:41.723Z</updated><title type='text'>Tutorial on how to create a custom JSF component library available!</title><content type='html'>I have just created a tutorial on how to create your custom JSF&lt;br /&gt;components library. It uses the MyFaces JSF&lt;br /&gt;Components Archetype to generate the project structure and explains&lt;br /&gt;how to implement a new component, by analysing the example component&lt;br /&gt;that comes with the archetype.&lt;br /&gt;&lt;br /&gt;You can find the tutorial &lt;a href="http://brunoaranda.googlepages.com/jsfcomponentsarchetype2"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Hope you like it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30033081-115126028764787236?l=brunoaranda.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://brunoaranda.blogspot.com/feeds/115126028764787236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30033081&amp;postID=115126028764787236' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/115126028764787236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/115126028764787236'/><link rel='alternate' type='text/html' href='http://brunoaranda.blogspot.com/2006/06/tutorial-on-how-to-create-custom-jsf.html' title='Tutorial on how to create a custom JSF component library available!'/><author><name>Bruno Aranda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-30033081.post-115088475455119360</id><published>2006-06-21T10:06:00.000Z</published><updated>2006-06-21T10:30:41.913Z</updated><title type='text'>MyFaces Archetypes</title><content type='html'>Hi there, I will start blogging by talking about the &lt;a href="http://myfaces.apache.org"&gt;MyFaces&lt;/a&gt; project and its maven archetypes. An &lt;a href="http://maven.apache.org/guides/introduction/introduction-to-archetypes.html"&gt;archetype&lt;/a&gt; is a great mechanism to setup a new project from scratch using only one command. Sometimes it can be cumbersome to start a project, as you have to define the file structure and the dependencies on external libraries. Maven archetypes will do all this for you.&lt;br /&gt;&lt;br /&gt;There are two different archetypes for MyFaces (and &lt;a href="http://jroller.com/page/mwessendorf?entry=a_new_maven2_archetype_for"&gt;another&lt;/a&gt; archetype for Trinidad/ADF subproject, the set of components donated by Oracle). The two MyFaces archetypes are:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt; MyFaces Archetype&lt;/span&gt;: this archetype creates the basic structure for a project that will use MyFaces. It includes all the dependencies needed so you don't have to find them out. The best way to start a new web application. &lt;/p&gt; &lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt; JSF Components Archetype&lt;/span&gt;: aimed to those that want to setup a JSF component library project. This archetype will create a maven multi-module project, that contains the artifact for the JSF components and a webapp for the examples. Everything setup and prepared to be deployed out-of-the-box! Includes a very simple demo component, that can be used in any JSF implementation.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;The information on how to use these archetypes can be found in &lt;a href="http://wiki.apache.org/myfaces/MyFaces_Archetypes_for_Maven"&gt;this page&lt;/a&gt; of the MyFaces wiki.&lt;br /&gt;&lt;br /&gt;Start coding now using JSF. These archetypes make life easier. There is no excuse!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/30033081-115088475455119360?l=brunoaranda.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://brunoaranda.blogspot.com/feeds/115088475455119360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=30033081&amp;postID=115088475455119360' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/115088475455119360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/30033081/posts/default/115088475455119360'/><link rel='alternate' type='text/html' href='http://brunoaranda.blogspot.com/2006/06/myfaces-archetypes.html' title='MyFaces Archetypes'/><author><name>Bruno Aranda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
