Skip to content

Commit

Permalink
6.5beta fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
banq committed Sep 26, 2011
1 parent 54f9562 commit fc2d566
Show file tree
Hide file tree
Showing 67 changed files with 342 additions and 477 deletions.
1 change: 0 additions & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<classpathentry kind="lib" path="lib/commons-pool-1.5.1.jar"/>
<classpathentry kind="lib" path="lib/disruptor-2.0.2.jar"/>
<classpathentry kind="lib" path="lib/ehcache-1.6.2.jar"/>
<classpathentry kind="lib" path="lib/hessian-3.1.6.jar"/>
<classpathentry kind="lib" path="lib/jakarta-regexp-1.1.jar"/>
<classpathentry kind="lib" path="lib/jdom.jar"/>
<classpathentry kind="lib" path="lib/junit.jar"/>
Expand Down
File renamed without changes.
Binary file added JdonAccessory/JdonAccessory-Source.rar
Binary file not shown.
Binary file removed JdonAccessory/JdonAccessorySource.zip
Binary file not shown.
Binary file modified JdonAccessory/jdon-hibernate3x.jar
Binary file not shown.
Binary file added JdonAccessory/jdon-jdbcTemp.jar
Binary file not shown.
Binary file modified JdonAccessory/jdon-remote-hessian.jar
Binary file not shown.
Binary file modified JdonAccessory/jdon-struts1x.jar
Binary file not shown.
Binary file modified JdonAccessory/jdonAccessory.jar
Binary file not shown.
Binary file modified dist/jdonFramework.jar
Binary file not shown.
75 changes: 0 additions & 75 deletions examples/Hazelcast/HazelcastProvider.java

This file was deleted.

134 changes: 0 additions & 134 deletions examples/Hazelcast/hazelcast.xml

This file was deleted.

23 changes: 0 additions & 23 deletions examples/Hazelcast/hibernate.cfg.xml

This file was deleted.

19 changes: 0 additions & 19 deletions examples/Hazelcast/¹ØÓÚHazelcastµÄJF¸ü¸Ä.txt

This file was deleted.

21 changes: 11 additions & 10 deletions examples/tesWeb/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/servlet-api.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/scannotation-1.0.2.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/commons-pool-1.5.1.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/hessian-3.1.6.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/jdom.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/jdonFramework.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/jdon-hibernate3x.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/jdon-remote-hessian.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/jdon-struts1x.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/log4j.jar"/>
<classpathentry kind="lib" path="D:/javasource/JdonComponent/jdonframework/dist/picocontainer-1.1.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/aopalliance-1.0.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/cglib.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/commons-pool-1.5.1.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/disruptor-2.0.2.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/ehcache-1.6.2.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/hessian-3.1.6.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/jdom.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/jdonFramework.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/log4j.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/picocontainer-1.2.jar"/>
<classpathentry kind="lib" path="D:/javasource/jdonframework/dist/scannotation-1.0.2.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
5 changes: 2 additions & 3 deletions examples/tesWeb/build.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?xml version="1.0"?>
<project name="Annotation Test" default="all" basedir="./">

<target name="all" depends="war">
<!--
<copy file="myweb.war" todir="E:\training\jboss-4.2.2.GA\server\default\deploy" overwrite="true"/>
-->
</target>

<path id="master-classpath">
Expand All @@ -28,6 +26,7 @@
</copy>
<copy todir="myweb/WEB-INF//lib" overwrite="true">
<fileset dir="../../dist"/>

</copy>
<jar destfile="myweb.war" >
<fileset dir="myweb">
Expand Down
Binary file modified examples/tesWeb/myweb.war
Binary file not shown.
Binary file modified examples/tesWeb/myweb/WEB-INF/classes/sample/MyServlet.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added examples/tesWeb/myweb/WEB-INF/lib/cglib.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file added examples/tesWeb/myweb/WEB-INF/lib/jdom.jar
Binary file not shown.
Binary file not shown.
Binary file added examples/tesWeb/myweb/WEB-INF/lib/log4j.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/tesWeb/myweb/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<form action="/myweb/myServlet" method="get">
enter your name:
<input type="text" name="myname" id="mynameId" value="999">
<input type="text" name="myname" id="mynameId" value="jdon">
<input type="submit"/>
</form>

Expand Down
4 changes: 0 additions & 4 deletions examples/tesWeb/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ this sample show how simply developing javaEE program by jdonfamework.

1. only need two annotations:

@Poolable
@Service(name="helloService")
public class HelloServiceImpl implements HelloService
..
Expand All @@ -17,9 +16,6 @@ HelloService helloService = (HelloService) WebAppUtil.getService("helloService",
String result = helloService.hello(myname);


Using ant compiling this project.

deploy jdonremote.war to your server,such as tomcat: copy the file to tomcat/webapp

http://localhost:8080/myweb/

12 changes: 0 additions & 12 deletions examples/tesWeb/readme_cn.txt

This file was deleted.

9 changes: 7 additions & 2 deletions examples/tesWeb/src/sample/MyServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import sample.domain.User;
import sample.service.HelloService;

import com.jdon.controller.WebAppUtil;
Expand All @@ -19,10 +20,14 @@ protected void service(HttpServletRequest req, HttpServletResponse resp) throws
String myname = req.getParameter("myname");
System.out.println("doGet active :" + myname);
HelloService helloService = (HelloService) WebAppUtil.getService("helloService", req);
String result = helloService.hello(myname);
User user = new User();
user.setName(myname);
user.setUserId("999");
helloService.save(user);

String result = helloService.hello("999");

resp.getWriter().print("server say hello to:" + result);
resp.getWriter().close();
}

}
Loading

0 comments on commit fc2d566

Please sign in to comment.