<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/pages/css/rss.css" type="text/css"?>
<rss xmlns:ps="http://trailfire.com" version="2.0"><channel><title>"J2EE" by enjoylife</title><link>http://trailfire.com/enjoylife/trails/64658</link><category>enjoylife/trails</category><ttl>60</ttl><item><title>Raible&amp;#039;s Wiki: DevelopmentEnvironment</title><link>http://trailfire.com/enjoylife/marks/233145</link><description><![CDATA[<P>This page describes how to setup your development environment to compile/deploy <A HREF="Wiki.jsp?page=AppFuse" CLASS="wikipage">AppFuse</A> or <A HREF="Wiki.jsp?page=StrutsResume" CLASS="wikipage">StrutsResume</A> from the command line. After setting this up, you might want to checkout <A HREF="Wiki.jsp?page=AppFuseEclipse" CLASS="wikipage">HowTo Run Ant in Eclipse</A>. This is how I currently have things setup and what I advise clients to use when we use AppFuse as a baseline for webapp development.</P><H4 ID="section-DevelopmentEnvironment-TableOfContents">Table of Contents</H4><UL><LI><A HREF="#ref-DevelopmentEnvironment-1" CLASS="footnoteref">[1]</A> Download - links to download the JDK, J2EE, Tomcat, Ant and MySQL</LI><LI><A HREF="#ref-DevelopmentEnvironment-2" CLASS="footnoteref">[2]</A> Install - detailed instructions on where to extract/install all of the above packages</LI><LI><A HREF="#ref-DevelopmentEnvironment-3" CLASS="footnoteref">[3]</A> Configure - how to configure your environment variables</LI><LI><A HREF="#ref-DevelopmentEnvironment-4" CLASS="footnoteref">[4]</A> Additional Tips - other tools I recommend using</LI></UL><H3 ID="section-DevelopmentEnvironment-Download1">Download <A NAME="ref-DevelopmentEnvironment-1" CLASS="footnote">[#1]</A></H3>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 11 Aug 2008 18:43:07 -0700</pubDate><guid isPermalink="false">trailfire:markId:233145</guid></item><item><title>Great Tutorial on Spring MVC</title><link>http://trailfire.com/enjoylife/marks/233146</link><description><![CDATA[<DIV CLASS="blogs_commententry"><DIV CLASS="blogs_commententrybody">Hi <A HREF="http://maestric.com/en/doc/java/spring">Spring MVC Fast Tutorial</A> is a good guide. But I am unable to run the Hello World example. Iam encountering an <STRONG>exception</STRONG> &quot;javax.servlet.ServletException: Servlet.init() for servlet springmvc threw exception&quot;. <STRONG>Root cause:</STRONG><BR><BR>org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [springmvc.web.HelloWorldController] for bean with name &#39;/hello_world.html&#39; defined in ServletContext resource [/WEB-INF/springmvc-servlet.xml]; nested exception is java.lang.ClassNotFoundException: springmvc.web.HelloWorldController.<BR><BR>Can someone help me out on this?</DIV></DIV><DIV CLASS="blogs_commententry"><DIV><A NAME="2143547"><IMG ALT="Edmon" CLASS="members_badgeSmall" SRC="http://userimages.ittoolbox.com/user/t_549997.jpg" ID="4_2143547" BORDER=""></A><DIV CLASS="blog_commentorname"><A NAME="2143547"><B><A HREF="http://it.toolbox.com/people/ebegoli/">Edmon</A></B> writes:</DIV><DIV CLASS="blogs_anchor">5/30/2008&nbsp;<A CLASS="hoverM" HREF="http://it.toolbox.com/blogs/web2-place/great-tutorial-on-spring-mvc-4755#2143547">#</A></DIV></DIV><DIV CLASS="blogs_commententrybody">Looks like a pure classpath issue. See if the example classes are in your lib directory or if example requires anywhere else like in server classpath (not recommended).<BR><BR>Edmon</DIV></DIV><DIV CLASS="blogs_commententry"><DIV><A NAME="2208911"><IMG ALT="comment" SRC="http://images.ittoolbox.com/icons/postReply.gif" CLASS="blogs_anonicon" BORDER=""></A><DIV CLASS="blog_commentorname"><A NAME="2208911"><B>Hardik</B> writes:</A></DIV><DIV CLASS="blogs_anchor"><A NAME="2208911">6/30/2008&nbsp;</A><A CLASS="hoverM" HREF="http://it.toolbox.com/blogs/web2-place/great-tutorial-on-spring-mvc-4755#2208911">#</A></DIV></DIV><DIV CLASS="blogs_commententrybody">Its a really good article and good view to Spring MVC Excellent features.. Really great tutorials .... Saluted ...</DIV></DIV><DIV CLASS="blogs_commententry"><DIV><A NAME="2267157"><IMG ALT="comment" SRC="http://images.ittoolbox.com/icons/postReply.gif" CLASS="blogs_anonicon" BORDER=""></A><DIV CLASS="blog_commentorname"><A NAME="2267157"><B>Finto</B> writes:</A></DIV><DIV CLASS="blogs_anchor"><A NAME="2267157">7/28/2008&nbsp;</A><A CLASS="hoverM" HREF="http://it.toolbox.com/blogs/web2-place/great-tutorial-on-spring-mvc-4755#2267157">#</A></DIV></DIV><DIV CLASS="blogs_commententrybody">Hi, I had the same problem as asdf with the classpath issue. It&#39;s to do with were the class files end up.<BR><BR>Anyway, instead of creating the files one by one just download the whole project as a zip and import it in to Eclipse (or whatever you use) and it&#39;ll work fine.<BR><BR></DIV></DIV><DIV CLASS="blogs_commententry"><DIV><A NAME="2269495"><IMG ALT="comment" SRC="http://images.ittoolbox.com/icons/postReply.gif" CLASS="blogs_anonicon" BORDER=""></A><DIV CLASS="blog_commentorname"><A NAME="2269495"><B>&quot;Sang Shin&quot;</B> writes:</A></DIV><DIV CLASS="blogs_anchor"><A NAME="2269495">7/29/2008&nbsp;</A><A CLASS="hoverM" HREF="http://it.toolbox.com/blogs/web2-place/great-tutorial-on-spring-mvc-4755#2269495">#</A></DIV></DIV><DIV CLASS="blogs_commententrybody">Another resource you might want to take a look at is<BR>&quot;Spring framework tutorial&quot; as part of &quot;Java EE programming<BR>(with Passion!)&quot; free online course.<BR><BR>http://www.javapassion.com/j2ee/#Spring_Web<BR><BR>It does cover other Spring related topics<BR><BR>http://www.javapassion.com/j2ee/#Spring_framework_title<BR><BR>-Sang Shin<BR></DIV></DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 11 Aug 2008 18:47:17 -0700</pubDate><guid isPermalink="false">trailfire:markId:233146</guid></item><item><title>Struts2系列教程1：第一个Struts2程序 - Java web开发及框架技术 - ITPUB论坛 - 皓辰传媒旗下专业技术社区</title><link>http://trailfire.com/enjoylife/marks/233384</link><description><![CDATA[Struts2系列教程1：第一个Struts2程序<BR><BR><DIV CLASS="t_msgfont" ID="message10090051"><U><B><FONT COLOR="#FF0000">Struts</FONT></B></U>学习圈子：<A TARGET="_blank" HREF="http://space.itpub.net/mygroup-91">http://space.itpub.net/mygroup-91</A><BR><BR>在本系列教程中我们将学习到Struts2的各种技术。在本教程中使用的工具和程序库的版本如下：<BR><BR>开发工具：MyEclipse6<BR>Web服务器：Tomcat6<BR><U><B><FONT COLOR="#FF0000">Struts</FONT></B></U>版本：Struts2.0.11.1<BR>JDK版本：JDK1.5.0_12</DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 12 Aug 2008 14:01:00 -0700</pubDate><guid isPermalink="false">trailfire:markId:233384</guid></item><item><title>untitled</title><link>http://trailfire.com/enjoylife/marks/233642</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 13 Aug 2008 18:16:52 -0700</pubDate><guid isPermalink="false">trailfire:markId:233642</guid></item><item><title>sqlplus how to Check synonyms dictionary - Google Search</title><link>http://trailfire.com/enjoylife/marks/233643</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 13 Aug 2008 18:17:19 -0700</pubDate><guid isPermalink="false">trailfire:markId:233643</guid></item><item><title>Spring 2.0的新特性之@AspectJ - 「理」尚往来 - JavaEye技术网站</title><link>http://trailfire.com/enjoylife/marks/234327</link><description><![CDATA[原来看过一本关于Spring的书《Spring 2.0宝典》，看完之后以为自己对Spring 2.0比较了解了，实际差的很远。最近看了InfoQ上的关于Spring 2.0新特性的文章后我才恍然大悟。下面结合我看Spring 2.0的开发参考手册和其它一些关于Spring 2.0的文章写一些我对于Spring 2.0新特性的理解。仅供参考。<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 本文结合Spring 2.0开发参考手册来讲解。对于手册中有的东西我就不说了，其实这样的话也剩下不了多少我能说的了，我只是谈一下我在看手册的时候比较费劲的地方和我对这些地方的理解。<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 首先@AspectJ并不是AspectJ，Spring AOP 框架支持@AspectJ只是说Spring支持用AspectJ注解的方式配置AOP。当然了，Spring 2.0也支持纯的AspectJ的应用，但这个不在本文的范围之]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 18 Aug 2008 14:37:09 -0700</pubDate><guid isPermalink="false">trailfire:markId:234327</guid></item><item><title>InfoQ: Simplifying Enterprise Applications with Spring 2.0 and AspectJ</title><link>http://trailfire.com/enjoylife/marks/234328</link><description><![CDATA[<H2>Spring: Simple <EM>and</EM> Powerful</H2><P>Spring aims to make enterprise application development as simple and productive as possible. Examples of this philosophy can be seen in Spring&#39;s approach to JDBC, ORM, JMX, dependency injection, and many other important areas of enterprise application development. Spring also distinguishes between making something <EM>simple</EM>, and making it <EM>simplistic</EM>. The elusive combination is to provide simplicity <EM>and</EM> power. One source of complexity in enterprise applications arises from the implementation of features and requirements that impact multiple parts of the application. Code relating to these features ends up scattered across the application code, making it harder to add, maintain, and understand. Spring 2.0 makes it much simpler to implement such features in a modular manner, greatly simplifying the overall application code and in some cases making it tractable to implement requirements that otherwise would just be too painful to code.</P>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 18 Aug 2008 14:38:30 -0700</pubDate><guid isPermalink="false">trailfire:markId:234328</guid></item><item><title>详解spring事务属性 - Java web开发及框架技术 - ITPUB论坛 - 皓辰传媒旗下专业技术社区</title><link>http://trailfire.com/enjoylife/marks/234334</link><description><![CDATA[详解spring事务属性<BR><BR><DIV CLASS="t_msgfont" ID="message9943160"><U><B><FONT COLOR="#FF0000">Spring</FONT></B></U>声明式事务让我们从复杂的事务处理中得到解脱。使得我们再也无需要去处理获得连接、关闭连接、事务提交和回滚等这些操作。再也无需要我们在与事务相关的方法中处理大量的try…catch…finally代码。<BR>我们在使用<U><B><FONT COLOR="#FF0000">Spring</FONT></B></U>声明式事务时，有一个非常重要的概念就是事务属性。事务属性通常由事务的传播行为，事务的隔离级别，事务的超时值和事务只读标志组成。我们在进行事务划分时，需要进行事务定义，也就是配置事务的属性。<BR><U><B><FONT COLOR="#FF0000">Spring</FONT></B></U>在TransactionDefinition接口中定义这些属性,以供PlatfromTransactionManager使用, PlatfromTransactionManager是<U><B><FONT COLOR="#FF0000">spring</FONT></B></U>事务管理的核心接口。<BR>Java代码<BR>TransactionDefinition&nbsp; &nbsp;<BR>public interface TransactionDefinition {&nbsp; &nbsp;<BR>&nbsp; &nbsp; int getPropagationBehavior();&nbsp; &nbsp;<BR>&nbsp; &nbsp; int getIsolationLevel();&nbsp; &nbsp;<BR>&nbsp; &nbsp; int getTimeout();&nbsp; &nbsp;<BR>&nbsp; &nbsp; boolean isReadOnly();&nbsp; &nbsp;<BR>}&nbsp;&nbsp;<BR><BR>TransactionDefinition<BR>public interface TransactionDefinition {<BR>&nbsp; &nbsp; int getPropagationBehavior();<BR>&nbsp; &nbsp; int getIsolationLevel();<BR>&nbsp; &nbsp; int getTimeout();<BR>&nbsp; &nbsp; boolean isReadOnly();<BR>}<BR><BR>getTimeout()方法，它返回事务必须在多少秒内完成。<BR>isReadOnly(),事务是否只读，事务管理器能够根据这个返回值进行优化，确保事务是只读的。<BR>getIsolationLevel()方法返回事务的隔离级别，事务管理器根据它来控制另外一个事务可以看到本事务内的哪些数据。<BR><BR>在TransactionDefinition接口中定义了五个不同的事务隔离级别<BR>ISOLATION_DEFAULT 这是一个PlatfromTransactionManager默认的隔离级别，使用数据库默认的事务隔离级别.另外四个与JDBC的隔离级别相对应<BR>ISOLATION_READ_UNCOMMITTED 这是事务最低的隔离级别，它充许别外一个事务可以看到这个事务未提交的数据。这种隔离级别会产生脏读，不可重复读和幻像读。<BR>例如:<BR>Mary的原工资为1000,财务人员将Mary的工资改为了8000，但未提交事务<BR>Java代码<BR>Connection con1 = getConnection();&nbsp; &nbsp;<BR>con.setAutoCommit(false);&nbsp; &nbsp;<BR>update employee set salary = 8000 where empId =&quot;Mary&quot;;&nbsp;&nbsp;<BR></DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 18 Aug 2008 16:04:58 -0700</pubDate><guid isPermalink="false">trailfire:markId:234334</guid></item><item><title>整了2天的aop-spring2 - Java web开发及框架技术 - ITPUB论坛 - 皓辰传媒旗下专业技术社区</title><link>http://trailfire.com/enjoylife/marks/234347</link><description><![CDATA[二.签名语法:<BR>&nbsp; &nbsp;&nbsp; &nbsp;call/execution/withincode(MethodPart)－方法调用/方法执行/在方法体内，MethodPart代表方法签名,execution较常用 (call我用了,但是始终报错,还没能试出它的用法)<BR>&nbsp;&nbsp;MethodPart的语法结构是<BR>Java代码<BR>[Modifier] Type [ClassType.] methodName(ArgumentType1...N...) [throws ExceptionType]&nbsp; &nbsp;<BR>public void com.olemap.apam.dao.TestDAO.save(..) throws Exception&nbsp;&nbsp;<BR><BR>[Modifier] Type [ClassType.] methodName(ArgumentType1...N...) [throws ExceptionType]<BR>public void com.olemap.apam.dao.TestDAO.save(..) throws Exception<BR>&nbsp;&nbsp;上面的语法是对应的,需要注意的是<BR>1.加中括号的就是可选的部分<BR>2.&#39;..&#39;是指所有的参数类型<BR>3.可以用*来代表泛指]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 18 Aug 2008 17:24:07 -0700</pubDate><guid isPermalink="false">trailfire:markId:234347</guid></item><item><title>11.3.&amp;nbsp;Structure of the Deployment Plan</title><link>http://trailfire.com/enjoylife/marks/271723</link><description><![CDATA[<DIV CLASS="titlepage"><DIV><DIV><H3 CLASS="title">11.3.3.&nbsp;Binding to Specific Ports</H3></DIV></DIV></DIV><P>A web application is normally deployed to the default web container instance, and uses the network ports for that web container. However, it&#39;s possible to set up an additional web container with different network ports and other configuration settings. The web-container element can be used to associate this web application with a specific web container instance, which can have the effect of binding this web application to a different set of ports than other web applications.</P><DIV CLASS="figure"><A NAME="id2581170"><P CLASS="title"><A NAME="id2581170"><B>Figure&nbsp;11.4.&nbsp;Web Application: Select Web Container</B></A></P></DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 10 Mar 2009 17:00:01 -0700</pubDate><guid isPermalink="false">trailfire:markId:271723</guid></item><item><title>java soap ch4soap.pdf - Google Search</title><link>http://trailfire.com/enjoylife/marks/276146</link><description><![CDATA[<SPAN CLASS="b w xsm">[PDF]</SPAN><H3 CLASS="r"><A CLASS="l" HREF="http://today.java.net/today/2003/11/05/ch4SOAP.pdf"><EM>SOAP</EM> and WSDL</A></H3><DIV CLASS="s"><SPAN CLASS="f">File Format:</SPAN> PDF/Adobe Acrobat - <A HREF="http://74.125.95.132/search?q=cache:m_RxhUKPohQJ:today.java.net/today/2003/11/05/ch4SOAP.pdf+java+soap+ch4soap.pdf&cd=2&hl=en&ct=clnk&gl=us&client=firefox-a">View as HTML</A><BR>started the biggest technology shift since the introduction of <EM>Java</EM> in 1995 and XML in 1998. <EM>SOAP</EM> is the cornerstone of what most people think of as Web <B>...</B><BR><CITE>today.<B>java</B>.net/today/2003/11/05/<B>ch4SOAP</B>.<B>pdf</B> -</CITE> <SPAN CLASS="gl"><A HREF="/search?hl=en&client=firefox-a&channel=s&rls=org.mozilla:en-US:official&hs=QZ1&q=related:today.java.net/today/2003/11/05/ch4SOAP.pdf">Similar pages</A></SPAN></DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 08 Apr 2009 16:04:53 -0700</pubDate><guid isPermalink="false">trailfire:markId:276146</guid></item><item><title>Differences between targetNamespace and default namespace (Web Services Certification (SCDJWS) forum at JavaRanch)</title><link>http://trailfire.com/enjoylife/marks/276163</link><description><![CDATA[An XML namespace gives the types defined in and XML schema a unique name - kind of like a sir name. In the US there are probably 10 million people named &quot;John&quot; so we use Sir names like &quot;Smith&quot; and middle names like &quot;William&quot; to distinguish one &quot;John&quot; from the next. You can think of element names as first names and XML namespaces as Sir names. (Its not a prefect analogy but it&#39;s illustrative).<BR><BR>Sometimes it&#39;s helpful to think of XML Namespaces as being similar to Java package names. When you create an XML Schema you are defining a type, just as a Java source file defines a type. The targetNamespace is the unique namespace of that type, just like the package name of a class defintion is the unique namespace of that type. In other words, declaring a targetNamespace in an XML Schema is the same as declaring a package name in a Java class file. It assigns the type(s) to a particular namespace.<BR><BR>The concept of a default namespace and a targetNamespace are orthogonal; they are separate concepts.<BR><BR>The default namespace has scope. If you create an XML document (be it an instance document, WSDL file, SOAP message or XML Schema) all of the elements are assumed to have unique namespaces. Usually, you will assign a prefix (a nick name) to each namespace and than tag elements that belong to that namespace with the prefix (e.g. <IMG SRC="http://www.coderanch.com//images/smilies/8a80c6485cd926be453217d59a84a888.gif"> . However, it is possible to create a default namespace, which is the same as saying any elements without a prefix belong to a certain namespace. A default namespace is simply a namespace that is declared without a preface (e.g. xmlns=&quot;http://www.blue.com&quot;). Default namespaces apply to the element in which they are declared and all of its children that do not use an explicit prefix.<BR><BR>You can override a default namespace by assigning a child element a different default namespace (e.g. xmlns=&quot;http:\\www.red.com&quot;) - that element and its children that do not have an explicit prefix will become part of the new default namespace.<BR><BR>I hope that helps. Tried to give you a couple different ways of thinking of things.<BR><BR><BR>good doc: http://www.oracle.com/technology/pub/articles/srivastava_namespaces.html<BR><BR>http://www.xfront.com/DefaultNamespace.pdf<BR><BR><BR>The XML Namespaces Recommendation does not require element type names and attribute names to be universal names; they are also allowed to be local names. http://www.jclark.com/xml/xmlns.htm<BR><BR><BR>Notice that there is no prefix. When a default namespace declaration is used on an element, all unqualified element names within its scope are automatically associated with the specified namespace identifier. Default namespace declarations, however, have absolutely no effect on attributes. The only way to associate an attribute with a namespace identifier is through a prefix.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Consider the following example:<BR><PRE>&lt;d:student  xmlns:d=&#39;http://www.develop.com/student&#39;<BR>     xmlns=&#39;urn:foo&#39; id=&#39;3235329&#39;<BR>&gt;<BR>  &lt;name&gt;Jeff Smith&lt;/name&gt;<BR>  &lt;language xmlns=&#39;&#39;&gt;C#&lt;/language&gt;<BR>  &lt;rating&gt;35&lt;/rating&gt;<BR><BR>http://msdn.microsoft.com/en-us/magazine/cc302166.aspx<BR><BR>&lt;/d:student&gt;<BR></PRE>Here, &quot;student&quot; is from the http://www.develop.com/student namespace while &quot;name&quot; and &quot;rating&quot; are from the default namespace urn:foo. The id attribute doesn&#39;t belong to a namespace since attributes aren&#39;t automatically associated with the default namespace identifier.<BR><BR><BR>http://www.xmlplease.com/attributexmlns]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 08 Apr 2009 18:36:26 -0700</pubDate><guid isPermalink="false">trailfire:markId:276163</guid></item><item><title>XML Namespaces</title><link>http://trailfire.com/enjoylife/marks/276164</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 08 Apr 2009 18:19:40 -0700</pubDate><guid isPermalink="false">trailfire:markId:276164</guid></item><item><title>Attributes and XML namespaces</title><link>http://trailfire.com/enjoylife/marks/276165</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 08 Apr 2009 18:38:27 -0700</pubDate><guid isPermalink="false">trailfire:markId:276165</guid></item><item><title>Attributes and XML namespaces</title><link>http://trailfire.com/enjoylife/marks/276166</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 08 Apr 2009 18:38:34 -0700</pubDate><guid isPermalink="false">trailfire:markId:276166</guid></item><item><title>怎么把broker公司自动卖掉RSU拿来交税的部分填税表里？ - 未名空间(mitbbs.com)</title><link>http://trailfire.com/enjoylife/marks/277940</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Sun, 12 Apr 2009 19:22:54 -0700</pubDate><guid isPermalink="false">trailfire:markId:277940</guid></item><item><title>Scriptlandia: How to make JavaEE project with Maven2</title><link>http://trailfire.com/enjoylife/marks/284296</link><description><![CDATA[<H3 CLASS="post-title entry-title"><A HREF="http://scriptlandia.blogspot.com/2006/05/how-to-make-javaee-project-with-maven2.html">How to make JavaEE project with Maven2</A></H3><DIV CLASS="post-header-line-1"><DIV CLASS="post-body entry-content">You want to support multiple modules in your project. Suppose you plan to have these modules:<BR><BR>- Java Module (one or more);<BR>- EJB Module (dependent on Java Module);<BR>- WEB Application Module (dependent on Java and EJB Modules);<BR>- Enterprise Application Module (dependent on Java, EJB and Web Application Module).<BR><BR>First of all, you have to create multi-module project. It is special type of maven project - it does not produce any artifact. Its main purpose is to host modules - single maven projects - and to perform group operations for all modules.<BR><BR>Each single maven project should be aware of parent project. The same is true for parent maven project - it has to be aware about all the children.<BR></DIV></DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 20 Apr 2009 16:09:23 -0700</pubDate><guid isPermalink="false">trailfire:markId:284296</guid></item><item><title>KSB&amp;#039;s Maven Notes</title><link>http://trailfire.com/enjoylife/marks/284318</link><description><![CDATA[If you rebuild at this point, it should complete and you&#39;ll see that mvn is pulling down the commons-logging lib as well as all the other dependencies of commons-logging into your local <TT>~/.m2</TT> repository.<BR><BR><BR><PRE>Dir-A/pom.xml<BR>=================<BR><BR>&lt;dependency&gt;<BR>        &lt;groupId&gt;SVU-LAP&lt;/groupId&gt;<BR>        &lt;artifactId&gt;svu_lap&lt;/artifactId&gt;<BR>        &lt;version&gt;1.0&lt;/version&gt;<BR>        &lt;scope&gt;system&lt;/scope&gt;<BR><BR>&lt;systemPath&gt;${basedir}/../Dir-B/src/main/webapp/WEB-INF/lib/svulap.jar&lt;/systemPath&gt;<BR>&lt;/dependency&gt;<BR></PRE>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 20 Apr 2009 17:07:21 -0700</pubDate><guid isPermalink="false">trailfire:markId:284318</guid></item><item><title>Eclipse Tips - The Open For Business Project Wiki - Apache OFBiz Doc Site - Powered by Confluence - Provided by Hotwax Media and Contegix</title><link>http://trailfire.com/enjoylife/marks/303939</link><description><![CDATA[<H3>Useful tips for Eclipse</H3><P><SPAN CLASS="nobr"><A TITLE="Visit page outside Confluence" HREF="http://benpryor.com/blog/2006/03/03/top-10-tips-for-new-eclipse-users/">Top 10 Tips For New Eclipse Users<SUP><IMG SRC="/images/icons/linkext7.gif" CLASS="rendericon" ALIGN="absmiddle" BORDER="" WIDTH="7" HEIGHT="7"></SUP></A></SPAN></P><P><SPAN CLASS="nobr"><A TITLE="Visit page outside Confluence" HREF="http://raibledesigns.com/page/rd?anchor=eclipse_tips">An interesting link to hide the jar files from the left section of the files in the Eclipse IDE</A></SPAN></P>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 12 May 2009 16:25:28 -0700</pubDate><guid isPermalink="false">trailfire:markId:303939</guid></item><item><title>eclipse-tutorial: Developing open source Java applications with java.net and Eclipse</title><link>http://trailfire.com/enjoylife/marks/303942</link><description><![CDATA[<H1 STYLE="text-align: center;">Developing open source Java applications with java.net and Eclipse</H1><DIV STYLE="text-align: center;"><H2>Part 1 - Creating a new project in Eclipse<BR></H2></DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 12 May 2009 16:44:04 -0700</pubDate><guid isPermalink="false">trailfire:markId:303942</guid></item><item><title>Java/J2EE Career Centre - Lulu.com</title><link>http://trailfire.com/enjoylife/marks/303947</link><description><![CDATA[<B>Free Career Downloads</B> :<UL><LI><A TARGET="_blank" HREF="http://www.lulu.com/items/volume_54/821000/821310/1/preview/978-1-4116-6824-9-preview.pdf">400+ Java/JEE Interview Q&amp;A PDF (49-page sample)</A></LI><LI><A TARGET="_blank" HREF="http://www.lulu.com/items/volume_63/2776000/2776822/1/source/Java-J2EE-Resume-Companion-Preview.pdf">Eye-catching Java/JEE Resume phrases PDF(19-page sample)</A></LI><LI><A TARGET="_blank" HREF="http://www.lulu.com/content/5676455">How to stand out among other Java/JEE Professionals?</A></LI></UL>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 12 May 2009 17:08:18 -0700</pubDate><guid isPermalink="false">trailfire:markId:303947</guid></item><item><title>Maven - Introduction to the POM</title><link>http://trailfire.com/enjoylife/marks/303980</link><description><![CDATA[<H3><A NAME="Project_Inheritance_vs_Project_Aggregation">Project Inheritance vs Project Aggregation</A></H3><P>If you have several Maven projects, and they all have similar configurations, you can refactor your projects by pulling out those similar configurations and making a parent project. Thus, all you have to do is to let your Maven projects inherit that parent project, and those configurations would then be applied to all of them.</P><P>And if you have a group of projects that are built or processed together, you can create a parent project and have that parent project declare those projects as its modules. By doing so, you&#39;d only have to build the parent and the rest will follow.</P><P>But of course, you can have both Project Inheritance and Project Aggregation. Meaning, you can have your modules specify a parent project, and at the same time, have that parent project specify those Maven projects as its modules. You&#39;d just have to apply all three rules:</P><UL><LI>Specify in every child POM who their parent POM is.</LI><LI>Change the parent POMs packaging to the value &quot;pom&quot; .</LI><LI>Specify in the parent POM the directories of its modules (children POMs)</LI></UL>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 12 May 2009 18:09:42 -0700</pubDate><guid isPermalink="false">trailfire:markId:303980</guid></item><item><title>Wrapping a Native Library with Maven &amp;laquo; Humboldt Solutions Ltd</title><link>http://trailfire.com/enjoylife/marks/303984</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 12 May 2009 18:15:56 -0700</pubDate><guid isPermalink="false">trailfire:markId:303984</guid></item><item><title>Setting up a Maven2 Internal Repository. | Wildfalcon</title><link>http://trailfire.com/enjoylife/marks/305049</link><description><![CDATA[<P>I’m really new to Maven and your posted helped me get my jars deployed to an internal repository. Thanks. To help others here is the command I used:</P><P>mvn deploy:deploy-file -DgroupId=apache -DartifactId=xercesImpl -Dversion=2.5.0 -Dpackaging=jar -Dfile=./xercesImpl.jar -DrepositoryId=repository -Durl=file:///home/mike/public_html/repository</P><P>And this linked helped a lot: <A HREF="http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html">http://maven.apache.org/guides/mini/guide-deploying-3rd-party-jars.html</A></P><P>I hope my post helps others who are just getting started.</P>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 13 May 2009 16:07:51 -0700</pubDate><guid isPermalink="false">trailfire:markId:305049</guid></item><item><title>Enterprise Java Community: Setting Up a Maven Repository</title><link>http://trailfire.com/enjoylife/marks/305085</link><description><![CDATA[<H2><B>1. Introduction</B></H2><P>Maven is a popular build tool available for java developers. One of the benefits of maven is that helps to reduce the duplication of dependent software libraries (jars) required to build an application. The maven suggested approach is to store all the software libraries in a remote store called a repository.</P>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 13 May 2009 17:10:59 -0700</pubDate><guid isPermalink="false">trailfire:markId:305085</guid></item><item><title>TechNotes/Java/Maven - Zarick&amp;#039;s Personal Wiki</title><link>http://trailfire.com/enjoylife/marks/305086</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 13 May 2009 17:18:17 -0700</pubDate><guid isPermalink="false">trailfire:markId:305086</guid></item><item><title>Migrating to Maven 2 (Part 1) | Javalobby</title><link>http://trailfire.com/enjoylife/marks/305087</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 13 May 2009 17:26:11 -0700</pubDate><guid isPermalink="false">trailfire:markId:305087</guid></item><item><title>Java API for SSL - J2EE Security for Servlets, EJBs and Web Services: Applying Theory and Standards to Practice - 图书 - JAVA 编程资料牛鼻站</title><link>http://trailfire.com/enjoylife/marks/319168</link><description><![CDATA[Java API for SSL - J2EE Security for Servlets, EJBs and Web Services: Applying Theory and Standards to Practice]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 26 May 2009 11:13:26 -0700</pubDate><guid isPermalink="false">trailfire:markId:319168</guid></item><item><title>AKC/kf/satya: CS-Java</title><link>http://trailfire.com/enjoylife/marks/328036</link><description><![CDATA[CS-Java]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Thu, 04 Jun 2009 12:09:04 -0700</pubDate><guid isPermalink="false">trailfire:markId:328036</guid></item><item><title>Generating JAXB2 with Maven2 | Pascal&amp;#039;s Blog</title><link>http://trailfire.com/enjoylife/marks/328066</link><description><![CDATA[Generating JAXB2 with Maven2]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Thu, 04 Jun 2009 14:03:23 -0700</pubDate><guid isPermalink="false">trailfire:markId:328066</guid></item><item><title>Enterprise Java Community: Axis, Axis2 and CXF: Surveying the WS Landscape</title><link>http://trailfire.com/enjoylife/marks/328109</link><description><![CDATA[<P>This brings us to a good point to compare Axis2 and CXF on their own merits. They are of course in many ways comparable; of necessity web services frameworks must fill in all the same blanks, but since both projects are very young, each has certain areas that are more well-developed than others. The chief differences are as follows:</P><UL><LI>CXF has support for WS-Addressing, WS-Policy, WS-RM, WS-Security, and WS-I BasicProfile. Axis2 supports each of these except for WS-Policy, which will be supported in an upcoming version.</LI><LI>CXF was written with Spring in mind; Axis2 is not.</LI><LI>Axis2 supports a wider range of data bindings, including XMLBeans, JiBX, JaxMe and JaxBRI as well as its own native data binding, ADB. Note that support for JaxME and JaxBRI are still considered experimental in Axis2 1.2. CXF currently supports only JAXB and Aegis; support for XMLBeans, JiBX and Castor will come in CXF 2.1.</LI><LI>Axis2 supports multiple languages--there is a C/C++ version available in addition to the Java version.</LI></UL>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Thu, 04 Jun 2009 15:08:37 -0700</pubDate><guid isPermalink="false">trailfire:markId:328109</guid></item><item><title>Apache Axis2, CXF and Sun JAX-WS (Metro) in comparison</title><link>http://trailfire.com/enjoylife/marks/328110</link><description><![CDATA[<DIV ID="con"><DIV ID="l"><IMG SRC="/l2.png" ID="l2"></DIV><DIV ID="crumb">/ <A HREF="/public/">Resources</A> / Apache Axis2, CXF and Sun JAX-WS (Metro) in comparison</DIV><DIV ID="main"><A HREF="http://predic8.de/axis2-cxf-jax-ws-vergleich.htm">View german version</A><A HREF="http://predic8.de/axis2-cxf-jax-ws-vergleich.htm"><IMG TITLE="View this article in German" ALT="View this article in German" SRC="/images/german.jpg"></A><H1>Apache Axis2, CXF and Sun JAX-WS RI in comparison</H1><P><I>For the java platform there are several open source Web Service toolkits like Axis2, CXF and the JAX-WS Reference Implementation. This article describes the differences and provides decision guidance for developers and architects.</I></P><P>There are multiple APIs for the Java platform, e.g. for database access or web applications. The developer has to code against a standard not against a product. The particular tools and servers stay replaceable. For example a web application can be operated with both the Application Server IBM Web Sphere and the Web Container Apache Tomcat. Due to the standardization by the Java Enterprise Edition the exchange of a server can be done with little effort.</P><P>Unfortunately, Web Services are a different story. Indeed there is the JAX-WS specification, but there are still too many unanswered questions as well as alternative approaches of applying Web Services. Which SOAP implementation is suitable depends on the requirements and the environment. The sections below are describing the tools and standards that are available for developers of Web Services.</P><H2>Apache Axis2</H2><P>Axis 2 is the follow-up of the popular Axis1 framework. Axis2 is based on a completely new architecture and has been re-developed from scratch.</P><P>The deployment of services for Axis 1 has often been criticized. Therefore Axis 2 has a completely new deployment model. An Axis 2 runtime is a Web application and can be installed on every JEE compliant Application Server. The Axis 2 web application itself is a container for Web Services now. Web Services are packed into an own file format with the file extension aar. Due to these archives, Web Services can be installed and configured by a simple user interface at run time. In Axis 2 the services can be configured by the traditional deployment descriptors, e.g. the file services.xml.</P><P>Modules providing additional functionality, for example WS-* standard support, can also be installed during runtime. A Web Service is regarded as an independent package which can be installed into the Axis 2 runtime environment.</P><P>Writing an Axis 2 project requires a lot of knowledge about the build tool Ant. Knowledge about the build tool is essential to write an Axis 2 project. For example the WSDL2JAVA task is generating a temporary project including a build-file. Then the projects build-file has to call the generated build-file. If a Web Service uses a library, e.g. a JDBC driver, then the library has to be copied into the generated project using Ant on each build. So development with Axis 2 will be very difficult if you are not familiar with Ant.</P><H2>Apache CXF</H2><P>CXF is also a project of the Apache software foundation. CXF came up from a fusion of the XFire and Ionas Celtix projects.</P><P>CXF was developed with the intention to integrate it into other systems. This is reflected in CXF API and the use of the Spring framework. Therefore it is very simple to integrate CXF into existing systems.</P><P>CXF respectively its predecessor XFire was integrated into numerous open and closed source projects like ServiceMix or Mule.</P><P>A proprietary API as well as the standardized JAX-WS interface are available for the development and use of Web Services.</P><H2>JAX-WS</H2><P>The Java API for XML based Web Services is the successor of the JAX-RPC specification. JAX-WS respectively its predecessor is message based and supports asynchronous communication. The Configuration is managed by annotations therefore Java 5 or higher is required. JAX-WS isn&#39;t downwardly compatible to its predecessor JAX-RPC. With JAX-WS it is pretty easy to write and consume Web Services. The default values of numerous parameters are comfortable for the programmer, so that simple Pojos declared with a @WebService annotation can be used as a Service. Listing 1 shows a simple implementation of a Web Service using the @WebService annotation.</P><DIV CLASS="listing"><PRE>import javax.jws.WebService; 
import javax.jws.WebMethod; 

@WebService 
public class HelloWorldService {
 
        public String helloWorld() { 
                return &quot;Hello World!&quot;; 
        } 
}</PRE><DIV CLASS="cap"><B>Listing 1:</B> HelloWorld Web Service using JAX-WS</DIV></DIV><P>A suitable WSDL document can also be generated from the class. Other annotations can concertedly exert influence of the WSDL document. For example other namespaces or element names can be used. If JAXB is already known, its annotations can be used to define the serialization in every detail. With the contract first approach a Service Interface, JAXB annotated classes for serialization and a skeleton for the implementation can be generated. According to the WSDL document the generated classes can have numerous annotations. Annotations are also the main point of criticism of JAX-WS. Despite this criticism the JAX-WS specification came out well. It is well attuned and combinable with other Java and Java EE specifications. For example, Listing 2 shows a stateless EJB 3.0 Bean which acts as a Web Service at the same time.</P><DIV CLASS="listing"><PRE>@WebService
@Stateless
public class MyService{
 public String hello(String name) {
     return &quot;Hallo&quot;+name;
 }
}</PRE><DIV CLASS="cap"><B>Listing 2:</B> Stateless SessionBean acting as Web Service</DIV></DIV><H2>JAX-WS Reference Implementation</H2><P>The JAX-WS Reference Implementation represents the core piece of the Web Services protocol stack Metro. The Metro Stack provides support for the following Web Services standards:</P><UL><LI>WS-Addressing</LI><LI>WS-Policy</LI><LI>Web Services Security aka WS-Security</LI><LI>WS-Transaction</LI><LI>WS-Reliable Messaging</LI><LI>WS-Trust</LI><LI>WS-SecureConversation</LI></UL><P>Metro is documented in detail. Apart from the JAX-WS, JAXB and JWS specifications there are numerous tutorials und samples. The Netbeans IDE as well as the tutorials of the enterprise pack makes it particularly easy to get started. Of course, Eclipse can also be used for the development with Metro.</P><P>Web applications containing Web Services which have been realized with JAX-WS are executable in the Glassfish Application Server. To make services also executable in other application servers, two libraries (JAX-WS and JAXB) have to be installed. Application servers such as JBoss, WebSphere or Tomcat can be upgraded with JAX-WS within about 10 minutes.</P><H2>Performance</H2><P>Due to the modern streaming XML parser, the performance of all three SOAP engines is very well. The ping time for a locale roundtrip is about 2-4 milliseconds (message size about 3KB, Dual Core Notebook). Therefore the time delay by the SOAP communication is negligible in many projects.</P><H2>WS-* Standards</H2><P>The support of the WS-Standard family can also be decisive for the selection of a SOAP engine. For example, messages sent to services can be secured with signatures as described in the Web Service Security standard (in short WSS). Table 1 shows the support for WS*-Standards of the toolkits.</P><TABLE BORDER="1"><THEAD><TR><TH>Standards</TH><TH>Axis2</TH><TH>CXF</TH><TH>JAX-WS/Metro</TH></TR></THEAD><TBODY><TR><TD>WS-Addressing</TD><TD>X</TD><TD>X</TD><TD>X</TD></TR><TR><TD>WS-Coordination</TD><TD>X(2)</TD><TD><TD>X</TD></TR><TR><TD>WS-MetadataExchange</TD><TD><TD><TD>X</TD></TR><TR><TD>WS-Policy</TD><TD>X</TD><TD>X</TD><TD>X</TD></TR><TR><TD>WS-ReliableMessaging</TD><TD>X(3)</TD><TD>X</TD><TD>X</TD></TR><TR><TD>Web Services Security</TD><TD>X(1)</TD><TD>X(4)</TD><TD>X</TD></TR><TR><TD>WS-SecureConversation</TD><TD>X(1)</TD><TD><TD>X</TD></TR><TR><TD>WS-SecurityPolicy</TD><TD><TD><TD>X</TD></TR><TR><TD>WS-Transaction</TD><TD>X(2)</TD><TD><TD>X</TD></TR><TR><TD>WS-Trust</TD><TD>X</TD><TD><TD>X</TD></TR><TR><TD>WS-Federation</TD><TD><TD><TD></TR></TBODY></TABLE><P><B>Table 1:</B> Support for WS-* Standards (stand: Juli 2008)</P><P>(1) Supported by the additional module Apache Rampart<BR>(2) Supported by the additional module Apache Kandula2<BR>(3) Supported by the additional module Apache Sandesha2<BR>(4) By Apache WSS4J Interceptor</P><H2>Conclusion</H2><P>None of the Web Services frameworks is in general superior to the others. Axis 2 is structured modularly, has many features and can be used as an application server for Web Services. A special feature of Axis 2 is the support of removable binding frameworks, for example XMLBeans. Axis 2 together with the XMLBeans framework included is well suited for Web Services which are using very complex schema definitions. The disadvantages of Axis 2 are its complexity as well as the insufficient JAX-WS support. Therefore anyone who wants to work with JAX-WS should choose Apache CXF or the reference implementation.</P><P>Those who prefer a seamless integration with the Spring framework are well advised with the JAX-WS implementation. Furthermore CXF is slim and easy to use. CXF is the tool of choice if a SOAP engine has to be embedded into an existing software.</P><P>Who just wants to code against the standard is well advised with the JAX-WS implementation. The enterprise pack of the Netbeans development environment supports JAX-WS RI very well. Only a few clicks are needed to build a server or to call a Web Service.</P><P>I hope this article could help you with the decision for a WS toolkit.</P><P>Thomas Bayer, Marco Hippler<BR>bayer@predic8.com hippler@predic8.com</P></DIV><DIV ID="nav"><UL><LI><A HREF="/">Home</A></LI><LI><A HREF="/training/">Training</A></LI><LI><A HREF="/public/">Resources</A></LI><LI STYLE="list-style: none; display: inline"><UL><LI><A HREF="/rest-demo.htm">REST Demo</A></LI><LI><A HREF="/shibboleth-web-services-sso-en.htm">Shibboleth</A></LI><LI><A HREF="/yahoo-webrank.htm">Yahoo Webrank</A></LI><LI><A HREF="/ws-specifications.htm">WS-Specifications</A></LI><LI><A HREF="/how-to-support-web-services.htm">Web Services Support</A></LI><LI><A HREF="/open-source-web-services.htm">Open Source</A></LI><LI><A HREF="/gzip-compression-filter.htm">Compression Filter</A></LI><LI><A HREF="/axis-soap-compression.htm">SOAP Compression</A></LI><LI><A HREF="/soap-compression-howto.htm">Compression How-To</A></LI><LI><A HREF="/soa-vs-eai-esb.htm">SOA vs. EAI &amp; ESB</A></LI><LI><B>SOAP Toolkits</B></LI><LI><A HREF="/ws-trust-example.htm">WS-Trust</A></LI><LI><A HREF="/screencast/rest-sqlrest.htm">REST Screencast</A></LI><LI><A HREF="/screencast/rest-services-gateway.htm">RESTGate Video</A></LI><LI><A HREF="/csv2xml-marshaler-en.htm">CSV and ESB</A></LI><LI><A HREF="/openesb-servicemix-comparison.htm">OpenESB vs. ServiceMix</A></LI><LI><A HREF="/groovy-web-services-jax-ws.htm">Groovy and JAX-WS</A></LI><LI><A HREF="/rest-webservices.htm">REST Introduction</A></LI><LI><A HREF="/bpel-xpath-splitter.htm">XPath Splitter</A></LI></UL></LI><LI><A HREF="/open-source/">Open Source</A></LI><LI><A HREF="/contact/">Contact</A></LI></UL><P>+49 (228) 555 25 76-0<BR><A HREF="mailto:info@predic8.com">info@predic8.com</A></P></DIV><DIV ID="foot"><P>Copyright (c) 2008 predic8 GmbH<BR>Moltkestr. 40, 53173 Bonn, Germany, Phone: +49 (228) 555 25 76-0</P></DIV></DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Thu, 04 Jun 2009 15:22:33 -0700</pubDate><guid isPermalink="false">trailfire:markId:328110</guid></item><item><title>Which SOAP XML object serialization library for Java would you recommend? - Stack Overflow</title><link>http://trailfire.com/enjoylife/marks/328111</link><description><![CDATA[<P>prefer JAX-WS (with JAXB 2.1 databinding) over the other liberaries I&#39;ve used (JAX-RPC, Axis 1 and 2, but not XFire). The JAXB 2 databinding uses generics, which makes for a pleasant mapping of properties with a maxoccurs &gt; 1. JAX-WS itself is reasonably well documented and provides a reasonably good API. The method and parameter annotations can get a bit out of hand in some cases - XML hell in annotation form. It usually isn&#39;t so bad.</P><P>One of the nice aspects of the JAX-WS stack is project Metro, which Sun co-developed with Microsoft and interoperates well with the web service support .NET 3.0, going so far as to implement MTOM in a workable fashion.</P>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Thu, 04 Jun 2009 15:23:57 -0700</pubDate><guid isPermalink="false">trailfire:markId:328111</guid></item><item><title>Annotated WSDL Examples</title><link>http://trailfire.com/enjoylife/marks/335568</link><description><![CDATA[StockQuotePortType&quot;&gt; <SPAN CLASS="comment"> GetLastTradePrice&quot;&gt; GetLastTradePriceInput&quot;/&gt; GetLastTradePriceOutput&quot;/&gt; <SPAN CLASS="comment"> StockQuoteSoapBinding&quot; type=&quot;tns:<A HREF="#StockQuotePortType">StockQuotePortType</A>&quot;&gt; <SPAN CLASS="comment"> <SPAN CLASS="comment"> GetLastTradePrice&quot;&gt; <SPAN CLASS="comment"> <SPAN CLASS="comment">]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Thu, 18 Jun 2009 15:57:14 -0700</pubDate><guid isPermalink="false">trailfire:markId:335568</guid></item><item><title>binding Element</title><link>http://trailfire.com/enjoylife/marks/335570</link><description><![CDATA[The <SAMP><I>OperationName</I></SAMP> sets the name of the operation this binding applies to. This name must match the name of an <SAMP>operation</SAMP> declared within the <SAMP>portType</SAMP> referenced in <SAMP><I>PortTypeRef</I></SAMP>. <SPAN STYLE="font-weight: bold;">However, the</SPAN> <SAMP STYLE="font-weight: bold;">OperationName</SAMP> <SPAN STYLE="font-weight: bold;">is a declaration, not a reference, so the name need not be namespace qualified.</SPAN><BR><BR>The <SAMP>soap:operation</SAMP> element states that <SPAN STYLE="font-weight: bold;">HTTP requests to the</SPAN> <SAMP STYLE="font-weight: bold;">operation</SAMP> <SPAN STYLE="font-weight: bold;"><SPAN STYLE="font-style: italic; text-decoration: underline;">named</SPAN></SPAN> <SAMP STYLE="font-weight: bold; font-style: italic; text-decoration: underline;">getSummary</SAMP> must include a <SAMP>SoapAction</SAMP> HTTP header with the value <SAMP>getSummary</SAMP>. The <SAMP>soap:body</SAMP> elements state that the <SAMP>input</SAMP> and <SAMP>output</SAMP> messages defined in the <SAMP>portType</SAMP> form the contents of the body of a SOAP message.]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Thu, 18 Jun 2009 16:08:49 -0700</pubDate><guid isPermalink="false">trailfire:markId:335570</guid></item><item><title>[#AXIS2-3792] codegen plugin fails due to missing jar - ASF JIRA</title><link>http://trailfire.com/enjoylife/marks/394812</link><description><![CDATA[I&#39;m using Eclipse 3.4.0 Ganymede and Axis2 1.4.<BR><BR>I tried all given hints. It still didnt work. I experimented a bit more and here is my solution:<BR><BR>1) Shutdown eclipse<BR><BR>2) Copying the &quot;backport-util-concurrent-3.1.jar&quot; from &quot;$AXIS2_HOME/lib/&quot; to &quot;$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/lib/&quot;<BR><BR>3) Adding the following into the &quot;runtime&quot; element &quot;$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/plugin.xml&quot; :<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><BR>4) In &quot;$ECLIPSE_HOME/plugins/Axis2_Codegen_Wizard_1.3.0/plugin.xml&quot; changing the version attribute of the &quot;plugin&quot; element from &quot;1.3.0&quot; to &quot;1.4.0&quot;. This results still in the same exception. But leave it.<BR><BR>5) Now changing the version also in the plugin&#39;s folder name from &quot;Axis2_Codegen_Wizard_1.3.0&quot; to &quot;Axis2_Codegen_Wizard_1.4.0&quot;.<BR><BR>6) Start eclipse and try the plugin<BR><BR><BR>In my case it worked then. Hope i could help you.]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 04 Aug 2009 16:24:15 -0700</pubDate><guid isPermalink="false">trailfire:markId:394812</guid></item><item><title>Web Services Security with Apache Rampart &amp;ndash; Part 1 ( Transport Level Security ) | WSO2 Oxygen Tank</title><link>http://trailfire.com/enjoylife/marks/396980</link><description><![CDATA[<H1 CLASS="title">Web Services Security with Apache Rampart – Part 1 ( Transport Level Security )</H1><DIV CLASS="node"><P><SPAN CLASS="submitted">Submitted on February 7, 2008 - 06:28.</SPAN></P><DIV CLASS="content"><P>Apache Rampart is the Axis2 module that provides WS-Security functionality to Axis2 Web services and their clients. Rampart currently implements WS-Security, WS-SecurityPolicy , WS-SecureConversation and WS-Trust specifications. In this tutorial, we will look at applying transport level security to a Web service or a client using Apache Rampart.</P></DIV></DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 05 Aug 2009 15:42:16 -0700</pubDate><guid isPermalink="false">trailfire:markId:396980</guid></item><item><title>What is an Axis2 Repository? | WSO2 Oxygen Tank</title><link>http://trailfire.com/enjoylife/marks/397229</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 05 Aug 2009 16:25:31 -0700</pubDate><guid isPermalink="false">trailfire:markId:397229</guid></item><item><title>Web Services Security with Apache Rampart &amp;ndash; Part 1 ( Transport Level Security ) | WSO2 Oxygen Tank</title><link>http://trailfire.com/enjoylife/marks/397248</link><description><![CDATA[I&#39;m reasonably sure that the problem for me has to do with this line:<BR>ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(&quot;path/to/client/repo&quot;, null);]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 05 Aug 2009 16:27:54 -0700</pubDate><guid isPermalink="false">trailfire:markId:397248</guid></item><item><title>Unable to engage module : addressing | WSO2 Oxygen Tank</title><link>http://trailfire.com/enjoylife/marks/397252</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Wed, 05 Aug 2009 16:32:56 -0700</pubDate><guid isPermalink="false">trailfire:markId:397252</guid></item><item><title>Webservices with Axis2 and the Eclipse Web Tool Platform (WTP) - Tutorial</title><link>http://trailfire.com/enjoylife/marks/401444</link><description><![CDATA[Currently Axis 2 1.5 is not supported. Make sure you download Axis 1.4.1 which can be found here <A TARGET="_top" HREF="http://ws.apache.org/axis2/download/1_4_1/download.cgi" CLASS="ulink">Axis 2 1.4.1. Download</A>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Fri, 07 Aug 2009 15:24:00 -0700</pubDate><guid isPermalink="false">trailfire:markId:401444</guid></item><item><title>Developing Web Services Using Apache Axis2 Eclipse Plugins - Part 1 | WSO2 Oxygen Tank</title><link>http://trailfire.com/enjoylife/marks/401479</link><description></description><category>J2EE</category><author>enjoylife</author><pubDate>Fri, 07 Aug 2009 16:34:31 -0700</pubDate><guid isPermalink="false">trailfire:markId:401479</guid></item><item><title>The Struts User&amp;#039;s Guide - Building Controller Components</title><link>http://trailfire.com/enjoylife/marks/451370</link><description><![CDATA[The final step in setting up the application is to configure the application deployment descriptor (stored in file WEB-INF/web.xml) to include all the Struts components that are required. Using the deployment descriptor for the example application as a guide, we see that the following entries need to be created or modified.]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 24 Aug 2009 12:08:57 -0700</pubDate><guid isPermalink="false">trailfire:markId:451370</guid></item><item><title>Spring MVC vs. Struts 2 (WebWork 2) - Spring Community Forums</title><link>http://trailfire.com/enjoylife/marks/451679</link><description><![CDATA[I&#39;m not an expert, but in my projects I use a lot of Ajax and my two suggestions are:<BR>1- <A TARGET="_blank" HREF="http://getahead.ltd.uk/dwr/">Direct Web Remoting</A><BR>2- <A TARGET="_blank" HREF="http://script.aculo.us/">script.aculo.us</A><BR><BR>With DWR in few seconds you have your beans able to be used by javascript and then a lot of ui effects with the nuber 2.]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 24 Aug 2009 14:28:42 -0700</pubDate><guid isPermalink="false">trailfire:markId:451679</guid></item><item><title>EJB 3.0 Annotations Cheat Sheet at Philipp Meier&amp;rsquo;s weblog</title><link>http://trailfire.com/enjoylife/marks/451686</link><description><![CDATA[<DIV CLASS="page-head"><H2><A TITLE="Permanent Link to " HREF="http://www.fnogol.de/ejb-annotations-cheat-sheat/">EJB 3.0 Annotations Cheat Sheet</A></H2></DIV><DIV CLASS="entry-content"><P>I moved the cheat sheet from the blog entries to this static page. This should prevent the URL from changing.</P></DIV>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Mon, 24 Aug 2009 14:35:19 -0700</pubDate><guid isPermalink="false">trailfire:markId:451686</guid></item><item><title>REST vs SOAP Web Services</title><link>http://trailfire.com/enjoylife/marks/454357</link><description><![CDATA[<P><STRONG>REST vs SOAP</STRONG></P><P>As you may have noticed the companies I mentioned that are using REST api&#39;s haven&#39;t been around for very long, and their apis came out this year mostly. So REST is definitely the trendy way to create a web service, if creating web services could ever be trendy (lets face it you use soap to wash, and you rest when your tired). The main advantages of REST web services are:</P><UL><LI>Lightweight - not a lot of extra xml markup</LI><LI>Human Readable Results</LI><LI>Easy to build - no toolkits required</LI></UL><P>SOAP also has some advantages:</P><UL><LI>Easy to consume - sometimes</LI><LI>Rigid - type checking, adheres to a contract</LI><LI>Development tools</LI></UL>]]></description><category>J2EE</category><author>enjoylife</author><pubDate>Tue, 25 Aug 2009 13:31:23 -0700</pubDate><guid isPermalink="false">trailfire:markId:454357</guid></item></channel></rss>
