Support for Tomcat AIO and JBoss AIO added.
by Mike Brock
Errai now has adapters to support non-blocking event-based HTTP for both Tomcat and JBoss, using their respective AIO APIs. Right now, however, they are not supported as part of the standard configuration. To use them you must comment out the Guice filter stuff from the web.xml and map the Tomcat or JBoss servlets in directly.
I'm going to be working on creating a new Servlet facade that can detect and configure Errai for the container automatically so we can have just one standard web.xml declaration for all appservers. But for now, these provides high-performance non-blocking IO for Errai.
Tomcat (Requests NIO or APR connector):
<servlet>
<servlet-name>TomcatErraiServlet</servlet-name>
<servlet-class>org.jboss.errai.bus.server.servlet.TomcatCometServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet
<servlet-mapping>
<servlet-name>TomcatErraiServlet</servlet-name>
<url-pattern>*.erraiBus</url-pattern>
</servlet-mapping>
JBoss AS 4 and 5 (Requires APR connector)
<servlet>
<servlet-name>JBossErraiServlet</servlet-name>
<servlet-class>org.jboss.errai.bus.server.servlet.JBossCometServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>JBossErraiServlet</servlet-name>
<url-pattern>*.erraiBus</url-pattern>
</servlet-mapping>
14 years, 4 months
Introducing true async IO
by Mike Brock
ErraiBus now has it's first async IO implementation for Jetty Continuations. It is implemented in the class: org.jboss.errai.bus.server.servlet.JettyContinuationsServlet. The old servlet is now referred to as: DefaultBlockingServlet.
You can specify the implementation now (optionally) int he ErraiService.properties like so:
errai.servlet_implementation=org.jboss.errai.bus.server.servlet.JettyContinuationsServlet
The addition of true asynchronous IO did require some substantial work to the plumbing of the MessageBus, actually. In order to facilitate it properly, I had to add support for thread workers, so messages could be delivered asynchronously. But all-in-all, seems to work great.
Mike
14 years, 4 months
Towards Beta2
by Heiko Braun
I've modified trunk to reflect the necessary changes for Beta2:
a) archetype points to snapshot
b) tools/sandbox.sh has been dropped. Use maven command line instead
c) all files from war/WEB-INF/classes have been moved to src/main/java
Somebody needs to verify that c) fixes the IDE integration. Mike, can you take care of that?
I'll add an explanation how to use the archetype to the userguide.
>From my side, only the userguide (docbook) is missing for Beta2.
Anything else we should consider?
/Heiko
14 years, 4 months
Work on the userguide started
by Heiko Braun
I did a bare bone layout of the userguide chapters and added some content.
In order to create the userguide, follow these steps:
cd userguide
mvn clean install
open 'target/docbook/publish/en/html_single/index.html' with a browser of your choice.
/Heiko
14 years, 4 months
Fwd: GWT Mosaic 0.4.0-rc1 Now Available
by Heiko Braun
FYI
Begin forwarded message:
> From: "georgopoulos.georgios(a)gmail.com" <georgopoulos.georgios(a)gmail.com>
> Date: December 15, 2009 9:18:53 PM GMT+01:00
> To: gwt-mosaic <gwt-mosaic(a)googlegroups.com>
> Subject: GWT Mosaic 0.4.0-rc1 Now Available
> Reply-To: gwt-mosaic(a)googlegroups.com
>
> Hi all,
>
> GWT Mosaic 0.4.0-rc1 (GWT-2.0 based) is now available.
>
> Download:
>
> http://code.google.com/p/gwt-mosaic/downloads/list
>
> Showcase:
>
> http://69.20.122.77/gwt-mosaic-current/Showcase.html
>
> New is the layout system with support for transition animation, and
> individual widget invalidation (see HasLayoutManager.invalidate
> (Widget) or code in ColumnView example below):
>
> - http://69.20.122.77/gwt-mosaic-current/Showcase.html#CwFillLayoutAnimation
> - http://69.20.122.77/gwt-mosaic-current/Showcase.html#CwBoxLayoutAnimation
> - http://69.20.122.77/gwt-mosaic-current/Showcase.html#CwStackLayoutPanel
>
> ColumnLayout & RowLayout:
>
> - http://69.20.122.77/gwt-mosaic-current/Showcase.html#CwColumnRowLayout
>
> ColumnView panel (useful for: http://en.wikipedia.org/wiki/Miller_Columns):
>
> - http://69.20.122.77/gwt-mosaic-current/Showcase.html#CwColumnView
>
> Change log for v0.4.0-rc1
> ================================
> - (Added) ColumnLayout, RowLayout and ColumnView widget + 2 demos
> - (Added) HasLayoutManager.needsLayout() & required cahnges
> - (Update) ColumnLayout functionality completed & BoxLayout code
> cleanup
> - (Bug Fix) LazyLayoutPanel layout problems fix
> - (Bug Fix) ScrollLayoutPanel.ensureVisibleImpl() scrolls also in
> horizontal direction
> - (Added) Individual widget invalidation
> - (Bug Fix) Various TabLayoutPanel bugs fixed
> - (Buf Fix) Don't cache percentage values in size (new layout system
> size cache)
> - (Added) Similar size cache and size calculations with Forms module
> - (Bug Fix) BorderLayout collapsed status NPE fixed
> - (Added) BorderLayout support for custom widgets in collapsed status
> - (Added) AnimationCallback in LayoutPanel & StackLayoutPanel z-index
> bug fixed.
> - (Update) Layout management improvements, transition animations for
> FillLayout, BoxLayout, GridLayout & BorderLayout, Showcase demo
> application update
> - (Upgrade) gwt-beans-binding-3.0.0, gwt-dnd-3.0.0, gwt-incubator-
> trunk-r1738 from gwt-beans-binding-0.2.4, gwt-dnd-2.6.5, gwt-incubator-
> trunk-r1684
> - (Added) BoxLayout transition animation and optimizations, cloneNode
> () is used in getPreferredSize().
> - (Cleanup) ToolButton
> - (Update) DecoratedLayoutPanel respects size if added to a normal
> GWT Panel
> - (Update) LayoutPanel respects size if added to a normal GWT Panel
> - (Cleanup) Viewport all @Deprecated methods removed
>
> Thanks to all contributors.
>
> Kind Regards,
> George.
>
> --
>
> You received this message because you are subscribed to the Google Groups "gwt-mosaic" group.
> To post to this group, send email to gwt-mosaic(a)googlegroups.com.
> To unsubscribe from this group, send email to gwt-mosaic+unsubscribe(a)googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gwt-mosaic?hl=en.
>
>
14 years, 4 months
Fwd: GWT-2.0 branch update
by Heiko Braun
FYI
Begin forwarded message:
> From: "georgopoulos.georgios(a)gmail.com" <georgopoulos.georgios(a)gmail.com>
> Date: December 10, 2009 10:54:00 PM GMT+01:00
> To: gwt-mosaic <gwt-mosaic(a)googlegroups.com>
> Subject: GWT-2.0 branch update
> Reply-To: gwt-mosaic(a)googlegroups.com
>
> Hi all,
>
> the GWT-2.0 branch is updated (tested with GWT-2.0 final).
>
> Changes so far:
>
> - http://code.google.com/p/gwt-mosaic/source/detail?r=1078
> - http://code.google.com/p/gwt-mosaic/source/detail?r=1079
>
> (the last update contains changes required by the GWT-2.0 compiler,
> and layout management updates).
>
> The new layout management code has support for transition animations
> and is based on a new algorithm to calculate the preferred size of
> widgets.
>
> Some of the updated Showcase demos:
>
> - http://69.20.122.77/gwt-mosaic/Showcase.html#CwFillLayoutCentered
> - http://69.20.122.77/gwt-mosaic/Showcase.html#CwStackLayoutPanel
> - http://69.20.122.77/gwt-mosaic/Showcase.html#CwFillLayoutAnimation
> - http://69.20.122.77/gwt-mosaic/Showcase.html#CwBoxLayoutAnimation
>
> Comments, bug reports, ... , that would be really helpful.
>
> Thanks,
> George.
>
> --
>
> You received this message because you are subscribed to the Google Groups "gwt-mosaic" group.
> To post to this group, send email to gwt-mosaic(a)googlegroups.com.
> To unsubscribe from this group, send email to gwt-mosaic+unsubscribe(a)googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gwt-mosaic?hl=en.
>
>
14 years, 4 months
Fwd: GWT-2.0 branch update
by Heiko Braun
FYI
Begin forwarded message:
> From: "georgopoulos.georgios(a)gmail.com" <georgopoulos.georgios(a)gmail.com>
> Date: December 10, 2009 10:54:00 PM GMT+01:00
> To: gwt-mosaic <gwt-mosaic(a)googlegroups.com>
> Subject: GWT-2.0 branch update
> Reply-To: gwt-mosaic(a)googlegroups.com
>
> Hi all,
>
> the GWT-2.0 branch is updated (tested with GWT-2.0 final).
>
> Changes so far:
>
> - http://code.google.com/p/gwt-mosaic/source/detail?r=1078
> - http://code.google.com/p/gwt-mosaic/source/detail?r=1079
>
> (the last update contains changes required by the GWT-2.0 compiler,
> and layout management updates).
>
> The new layout management code has support for transition animations
> and is based on a new algorithm to calculate the preferred size of
> widgets.
>
> Some of the updated Showcase demos:
>
> - http://69.20.122.77/gwt-mosaic/Showcase.html#CwFillLayoutCentered
> - http://69.20.122.77/gwt-mosaic/Showcase.html#CwStackLayoutPanel
> - http://69.20.122.77/gwt-mosaic/Showcase.html#CwFillLayoutAnimation
> - http://69.20.122.77/gwt-mosaic/Showcase.html#CwBoxLayoutAnimation
>
> Comments, bug reports, ... , that would be really helpful.
>
> Thanks,
> George.
>
> --
>
> You received this message because you are subscribed to the Google Groups "gwt-mosaic" group.
> To post to this group, send email to gwt-mosaic(a)googlegroups.com.
> To unsubscribe from this group, send email to gwt-mosaic+unsubscribe(a)googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gwt-mosaic?hl=en.
>
>
14 years, 4 months