I've implemented full CMP/CMR implementation, module implementation ok again, html
template ok but I nedd 2 DB tables : signatures et log and I'm not fully satisfied by
CMP creation (type control is not strict enough I think, a lot to say about it, maybe
on another dev thread ...). Is it possible to use a good old ddl ? I'm trying to get
how to generate it by build process. Another issue : is it necessary to test it under
hsqldb ? I don't even try it. We should also discuss about UserModule plug. For now
here it is
private Handler handler = new Handler()
| {
| public void process(Signature signature, NukesRequest req, NukesResponse
resp, Handler.Next next)
| {
| ...
| synchronized (sessionIdToUserStatMap)
| {
| if (sessionIdToUserStatMap.containsKey(sessionId))
| {
| stat = (UserStat)sessionIdToUserStatMap.get(sessionId);
| }
| else
| {
| sessionIdToUserStatMap.put(sessionId, stat = new
UserStat(sessionId));
| // CN Added, call BotcrawlModule
| try {
|
server.invoke(ObjectNameFactory.create("nukes.modules:name=botcrawl"), "signIn",
| new Object[] { req }, new String[] {
NukesRequest.class.getName() });
| } catch (Exception e) { // TODO Module not there, cry silently
| log.error("",e);
| }
| }
| }
|
| ...
| next.process(signature, req, resp);
| }
| };
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850668#3850668
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850668
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user