随笔分类 -  Java

Maven - import a web project into eclipse
摘要:Create a project and add the following in the POM file,<build><pluginManagement> <plugins> <plugin> <artifactId>maven-eclipse-plugin</artifactId> <configuration> <wtpversion>2.0</wtpversion> <wtpapplicationxml>true</wtpapplicationxml> 阅读全文
posted @ 2011-11-12 21:10 Jason Li 2011 阅读(795) 评论(0) 推荐(0)
转:Controlling Access to Members of a Class
摘要:Controlling Access to Members of a Class Access level modifiers determine whether other classes can use a particular field or invoke a particular method. There are two levels of access control: At the top level—public, or package-private (no explicit modifier). At the member level—public, private, 阅读全文
posted @ 2011-01-13 15:19 Jason Li 2011 阅读(288) 评论(0) 推荐(0)
转:Using JNDI to Get to eDirectory
摘要:Using JNDI to Get to eDirectory Articles and Tips: article Printer Friendly Kevin Burnett Senior Research Engineer Novell, Inc. kburnett@novell.com 01 Jul 2003 The Java Naming and Directory Interface (JNDI) is an application programming interface (API) that provides naming and directory functional 阅读全文
posted @ 2010-12-29 17:38 Jason Li 2011 阅读(250) 评论(0) 推荐(0)
转:inverse = “true” example and explanation
摘要:inverse = “true” example and explanation Written on January 31, 2010 at 4:19 pm by mkyong | Under Hibernate category What is “inverse”? This is the most confusing keyword in Hibernate, at least i took quite a long time to understand what is it. Th 阅读全文
posted @ 2010-12-29 11:46 Jason Li 2011 阅读(408) 评论(0) 推荐(0)
转:Comparing Struts 1 and 2
摘要:Feature Struts 1 Struts 2 Action classes Struts 1 requires Action classes to extend an abstract base class. A common problem in Struts 1 is programming to abstract classes instead of interfaces. An Struts 2 Action may implement an Action interface, along with other interfaces to enable optional a 阅读全文
posted @ 2010-12-29 11:45 Jason Li 2011 阅读(147) 评论(0) 推荐(0)
转:HIBERNATE - Hibernate Mapping In Depth
摘要:HIBERNATE TUTORIAL HIBERNATE - Hibernate Mapping In Depth Hibernate allows the mapping of Mapped tables with the domain objects using the persistent collection-valued fields. These fields needs be declared as an interface type. The actual interface can be java.util.Set, java.util.Collection, java.ut 阅读全文
posted @ 2010-12-29 11:44 Jason Li 2011 阅读(310) 评论(0) 推荐(0)
转:Chapter 9. Transaction management
摘要:http://static.springsource.org/spring/docs/2.0.x/reference/transaction.htmlChapter9.Transaction management 9.1.IntroductionOne of the most compelling reasons to use the Spring Framework is the comprehensive transaction support. The Spring Framework provides a consistent abstraction for transaction m 阅读全文
posted @ 2010-12-29 11:43 Jason Li 2011 阅读(1381) 评论(0) 推荐(0)
转:Chapter 5. Creating a Web service with Spring-WS
摘要:Chapter5.Creating a Web service with Spring-WS5.1.Introduction Spring-WS's server-side support is designed around a MessageDispatcher that dispatches incoming messages to endpoints, with configurable endpoint mappings, response generation, and endpoint interception. The simplest endpoint is a Paylo 阅读全文
posted @ 2010-12-29 11:41 Jason Li 2011 阅读(2896) 评论(0) 推荐(0)
转:Eclipse Shortcuts
摘要:Eclipse Shortcuts Navigational Shortcuts F10 Main menu Shift F10 Context menu Ctrl F10 View menu Workspace navigation F12 Activate editor Ctrl+Shift+W Switch editor Ctrl F6 Next editor Ctrl Shift F6 Prev editor Ctrl F7 Next workspace Ctrl Shift F7 Prev workspace Ctrl F8 Next perspective Ctrl Shift F 阅读全文
posted @ 2010-12-29 11:39 Jason Li 2011 阅读(674) 评论(0) 推荐(0)