Xplanner+ was updated.
New build is available for download:
http://sourceforge.net/downloads/xplanner-plus/v1.1a2/#download
This build is also uploaded to http://demo.xplannerplus.org/
On demo you still may have problem with attachments, since it fixed only on mysql, patch for hsqldb will be available soon.
There a lot of not fixed bugs, but we are moving forward!
Monday, July 19, 2010
Friday, February 19, 2010
DWR 2.0 and Spring
Integrating DWR to project using Spring.
In this article you can find missing bit, in official DWR documentation.
1. Add dwr and dependencies to classpath, with maven it's
3. Add to your applicationContext,xml file import (Of cause you can just put all beans inside applicationContext.xml, but I think it's more easier to have all dwr related beans in separate file).
4. Add dwr.xml file with needed configuration (!!! It should be in classpath)
In dwr.xml, as you can see you should declare dwr controller.
Also we declared our dwr bean with id dwrProject, which is using "projectDao" spring bean, to use this bean you need to add following javascript to your page (we declared as accessible only one method "getAllProjects"):
Also we declared converter for our bean, but this is very well covered by dwr documentation. We just added few exclude method to avoid of fetching huge tree of objects (Project - is hibernate bean and have a references to other objects, and by default DWR try to serialize all of them).
That's all! :-)
P.S. After small discussion we decided postpone usage of DWR in XplannerPlus project. We really miss RESTful Web Services. This feature added in version 3.0 rc1, but project look frozen more then for year in this stage.
In this article you can find missing bit, in official DWR documentation.
1. Add dwr and dependencies to classpath, with maven it's
<dependency>
<groupId>org.directwebremoting</groupId>
<artifactId>dwr</artifactId>
<version>2.0.3</version>
</dependency>
2. Add to web.xml Dwr Spring Servlet <servlet> <servlet-name>dwr-invoker</servlet-name> <servlet-class>org.directwebremoting.spring.DwrSpringServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>true</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>dwr-invoker</servlet-name> <url-pattern>/dwr/*</url-pattern> </servlet-mapping>
3. Add to your applicationContext,xml file import (Of cause you can just put all beans inside applicationContext.xml, but I think it's more easier to have all dwr related beans in separate file).
<import resource="dwr.xml"/>
4. Add dwr.xml file with needed configuration (!!! It should be in classpath)
<?xml version="1.0" encoding="UTF-8" ?>
<beans default-autowire="no" xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.directwebremoting.org/schema/spring-dwr
http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd">
<dwr:configuration>
<dwr:convert type="bean" class="net.sf.xplanner.domain.Project">
<dwr:exclude method="notificationReceivers"/>
<dwr:exclude method="iterations"/>
</dwr:convert>
</dwr:configuration>
<dwr:controller id="dwrController" debug="true" />
<bean id="dwrProject" class="net.sf.xplanner.dwr.Project" >
<property name="projectDao" ref="projectDao" />
<dwr:remote javascript="project">
<dwr:include method="getAllProjects" />
</dwr:remote>
</bean>
</beans>
In dwr.xml, as you can see you should declare dwr controller.
Also we declared our dwr bean with id dwrProject, which is using "projectDao" spring bean, to use this bean you need to add following javascript to your page (we declared as accessible only one method "getAllProjects"):
<script type='text/javascript' src='/xplanner/dwr/interface/project.js'></script> <script type='text/javascript' src='/xplanner/dwr/engine.js'></script>
Also we declared converter for our bean, but this is very well covered by dwr documentation. We just added few exclude method to avoid of fetching huge tree of objects (Project - is hibernate bean and have a references to other objects, and by default DWR try to serialize all of them).
That's all! :-)
P.S. After small discussion we decided postpone usage of DWR in XplannerPlus project. We really miss RESTful Web Services. This feature added in version 3.0 rc1, but project look frozen more then for year in this stage.
Sunday, January 31, 2010
Demo of latest xplanner
Here you can try xplanner+, without installing it on your system.
XplannerPlus is based on xplanner project.
More details about xplanner-plus you may read on http://xplanner-plus.
Tuesday, December 1, 2009
Migration to Hibernate 3.3 from Hibernate 2.1 in XPlanner-Plus
We finally did it.
We have moved to hibernate 3.3.1 and hibernate annotations 3.4.0 in xplanner-plus 1.1a1.
Special thanks to Hoani Cross, for fixing a lot of problems related to hibernate upgrade.
Good news: we got annotation support for hibernate, and we have started this work!
Bad news: we still have a lot of work to do: move to OpenSessionInViewFilter, move to hibernate annotations, remove custom sessionFactory, move all database code to dao's and apply aop transaction pattern.
We have moved to hibernate 3.3.1 and hibernate annotations 3.4.0 in xplanner-plus 1.1a1.
Special thanks to Hoani Cross, for fixing a lot of problems related to hibernate upgrade.
Good news: we got annotation support for hibernate, and we have started this work!
Bad news: we still have a lot of work to do: move to OpenSessionInViewFilter, move to hibernate annotations, remove custom sessionFactory, move all database code to dao's and apply aop transaction pattern.
Labels:
annotations,
development,
hibernate,
xplanner-plus
Thursday, November 26, 2009
Export features
In version 1.0 we can do following export on corresponding pages:
Project: XML MPX
Iteration: XML MPX PDF JRPDF
Story: PDF JRPDF
Task: PDF JRPDF
In version 1.1 was added export to MSPDI format. (To avoid internationalization issues with mpx project)
Everyone is welcome to test and report any issues, with this format.
V1.1a1 build will be published soon.
Project: XML MPX
Iteration: XML MPX PDF JRPDF
Story: PDF JRPDF
Task: PDF JRPDF
In version 1.1 was added export to MSPDI format. (To avoid internationalization issues with mpx project)
Everyone is welcome to test and report any issues, with this format.
V1.1a1 build will be published soon.
Sunday, November 8, 2009
Updating libs for xplanner-plus
The major changes comparing with xplanner 0.7b7
Upgraded libraries:
Upgraded libraries:
- Struts (1.1 -> 1.2.9)
- Spring (1.2.6 -> 1.2.9)
- Velocity (1.4->1.5)
- Jasper (0.5.x -> 1.0.2)
- MPXJ (0.0.24->3.0.1)
- dom4j (1.4 -> 1.6.1)
- commons-digester (1.4->1.6)
- Struts-spring plugin removed, and switched to struts spring integration in spring.
Wednesday, October 7, 2009
Setting up development enviroment for XPlannerPlus
Instructions for eclipse users:
So first of all you need to have jdk 1.5 or higher, tomcat (6.0 or 5.5) and Eclipse IDE for Java EE Developers(You may use Eclipse for Java Developers, with another web devepment plugins as well) installed.
For tomcat managing I'm using Sysdeo tomcat plugin.
Then you need to have svn and maven plugins installed on eclipse. I'd prefer Subclipse and M2Eclipse correspondently.
After plugins installations you may checkout project, via menu: File>New>Maven>"Checkout Maven Projects from SCM".
On next screen, In SCM URL choos svn, and paste url
So first of all you need to have jdk 1.5 or higher, tomcat (6.0 or 5.5) and Eclipse IDE for Java EE Developers(You may use Eclipse for Java Developers, with another web devepment plugins as well) installed.
For tomcat managing I'm using Sysdeo tomcat plugin.
Then you need to have svn and maven plugins installed on eclipse. I'd prefer Subclipse and M2Eclipse correspondently.
After plugins installations you may checkout project, via menu: File>New>Maven>"Checkout Maven Projects from SCM".
On next screen, In SCM URL choos svn, and paste url
https://xplanner-plus.svn.sourceforge.net/svnroot/xplanner-plus.Then press finish.It will takes some times depending on speed of you internet connection and availability of sourceforge.net
Labels:
development,
eclipse,
maven. tomcat,
xplanner-plus
Subscribe to:
Posts (Atom)

