Java Extreme Programming Cookbook phần 9 potx
... http://xdoclet.sourceforge.net/1.2beta/templates/index.html . 9. 9 Extending XDoclet to Generate Custom Files 9. 9.1 Problem You would like to extend XDoclet to generate custom files. 9. 9.2 Solution There are five main ... generate JUnitPerf tests did not exist. 9. 9.4 See Also Recipe 9. 10 shows how to create a custom Ant Doclet subtask to generate JUnitPerf tests. Recipe 9. 11 sh...
Ngày tải lên: 12/08/2014, 19:21
... generate.ejb 9. 4.4 See Also Recipe 9. 2 discusses where generated source files should go in a development environment. Chapter 9. XDoclet Section 9. 1. Introduction Section 9. 2. Setting Up ... Specifications Section 9. 7. Generating EJB Home and Remote Interfaces Section 9. 8. Creating and Executing a Custom Template Section 9. 9. Extending XDoclet to Generate Custom Files...
Ngày tải lên: 12/08/2014, 19:21
... import java. io.File; import java. io.IOException; import java. io.PrintWriter; import java. net.HttpURLConnection; import java. net.MalformedURLException; import java. net.URL; public class ... to JBoss. 10 .9 Hot-Deploying to JBoss 10 .9. 1 Problem You want to deploy a new EAR or WAR file to JBoss. 10 .9. 2 Solution JFCUnit is similar in concept to Jemmy; it is another...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 1 ppt
... 1005 Gravenstein Highway North Sebastopol, CA 95 472 (800) 99 8 -99 38 (in the United States or Canada) (707) 8 29- 0515 (international/local) (707) 8 29- 0104 (fax) There is a web page for this book, ... http://www.oreilly.com/catalog/jextprockbk/ Java Extreme Programming Cookbook By Eric M. Burke , Brian M. Coyner Publishe r : O'Reilly Pub Date...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 2 pot
... Matches Does not match * .java Person .java Person.class Person* .java Person .java, PersonA .java, PersonBoss .java P .java, BossPerson .java Test? .java TestA .java Test .java, TestOne .java **/*.txt a.txt, ... user.home = C:\Documents and Settings\ericb [java] Now in ShowProps class [java] prop1 = First Prop [java] prop2 = null [java] prop3 = null [java] user.home = C...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 3 pdf
... at com.oreilly.javaxp.junit.TestPerson.testGetFullName(C:/cvsdata /java_ xp_ cookbook/ examples/src/com/oreilly/javaxp/junit/TestPerson .java :24) 2) testNullsInName(com.oreilly.javaxp.junit.TestPerson)junit.fram ework. ... was:<?Burke> at com.oreilly.javaxp.junit.TestPerson.testNullsInName(C:/cvsdata /java_ xp_ cookbook/ examples/src/com/oreilly/javaxp/junit/TestPerson .java...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 4 pptx
... SwingTestCase. Example 4-13. SwingTestCase .java package com.oreilly.javaxp.junit; import junit.framework.TestCase; import javax.swing.*; import java. lang.reflect.InvocationTargetException; ... <fileset dir="${dir.src}"> <include name="**/Test* .java& quot;/> <exclude name="**/AllTests .java& quot;/> </fileset> </batchtest>...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 5 pot
... junit.framework.Assert; import javax.swing.event.TableModelEvent; import javax.swing.event.TableModelListener; import javax.swing.table.TableModel; import java. util.ArrayList; import java. util.List; ... Servlet that dispatches to a JSP package com.oreilly.javaxp.httpunit; import javax.servlet.*; import javax.servlet.http.*; import java. io.IOException; public class News...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 6 ppt
... following command: java mockmaker.MockMaker javax.swing.event.TableModelListener Example 6-11. Generated mock object import mockmaker.ReturnValues; import com.mockobjects.*; import javax.swing.event.TableModelListener; ... <arg line="javax.swing.event.TableModelListener"/> < /java& gt; </target> 6.6.4 See Also // convert a database account code, such as &qu...
Ngày tải lên: 12/08/2014, 19:21
Java Extreme Programming Cookbook phần 7 pdf
... 7 -9 show these objects. Example 7-8. Shopping cart class package com.oreilly.javaxp.cactus.servlet; import java. io.Serializable; import java. util.Map; import java. util.HashMap; import java. util.Iterator; ... com.oreilly.javaxp.cactus.servlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespons...
Ngày tải lên: 12/08/2014, 19:21