At line 6 changed 2 lines. |
* [2] Configuring Appfuse - create ws servlet |
* [3] Unsolved issues |
* [3] Configuring Appfuse - create ws servlet |
* [4] Configuring Appfuse - add *.jar library dependicies |
* [5] Configuring Appfuse - add interface to allow remote clients login |
* [6] Configuring RichClient - TODO |
* [3] Unsolved issues - TODO |
At line 25 changed 1 line. |
<servlet-name>__ws__</servlet-name> |
<servlet-name>ws</servlet-name> |
At line 45 added 3 lines. |
Create ws servlet XML beans descriptor. While I am using [Hessian|http://www.caucho.com/hessian/] instead of [Burlap|http://www.caucho.com/burlap/burlap.xtp] I have commented unused part of code. If you will ever want to use the burlap instead hessian uncomment this part of code. |
|
Difference between Hessian and Burlap is that Hessian is binary and Burlap XML based. |
At line 95 added 49 lines. |
|
!!! Configuring Appfuse - add *.jar library dependicies [#4] |
|
For more details read [how to add library to appfuse|http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAddLibrary] here. |
|
Copy hessian.jar to appfuse/lib/hessian/hessian.jar |
|
To lib/lib.properties add path info: |
|
<div style="margin-left: 40px"> |
{{{ |
|
# |
# Hessian |
# |
hessian.version=0.1 |
hessian.dir=${lib.dir}/hessian-${hessian.version} |
hessian.jar=${hessian.dir}/hessian-${hessian.version}.jar |
}}} |
</div> |
|
If you will ever need burlap do the same with burlap *.jar files |
|
And in __build.xml__ |
<div style="margin-left: 40px"> |
{{{ |
<target name="package-web" ...... |
....... |
...... |
<lib file="${hessian.jar}"/> |
...... |
</target> |
}}} |
</div> |
|
(properties.xml does not need any changes) |
|
!!!Configuring Appfuse - add interface to allow remote clients login[#5] |
|
<div style="margin-left: 40px"> |
{{{ |
<!-- Allows remote clients to check if a username/password is valid --> |
<bean id="remoteAuthenticationManager" class="net.sf.acegisecurity.providers.rcp.RemoteAuthenticationManagerImpl"> |
<property name="authenticationManager"><ref bean="authenticationManager"/></property> |
</bean> |
}}} |
</div> |
|
!!! Configuring RichClient[#6] |