Netty 3.2.5. and swing
Marco Mistroni
mmistroni at gmail.com
Tue Aug 30 15:51:11 EDT 2011
Hi
i have written a very small netty client in my swing app (copied from Netty
client example)
i have registered handler (which was bounded to a model object, i used MVC
architecture in Swing)..so whenever the Netty client was receiving a netty
response, the appropriate handler would be called which in turn updates the
model which in turn notifies the View (frame)
i wasnt concerned on thread synchs etc, but i hope it gives you some
ideas...
rgds
marco
On Tue, Aug 30, 2011 at 1:59 PM, rayc <rayc at rayc.com> wrote:
> I am developing a multi user application in swing using Netty 3.2.5. The
> swing user interface has an OK button which when pressed does the following
> from multiple swing clients: 1. reads the database and returns the results.
> 2. Does some (lengthy) calculations with the results. 3. Updates the user
> interface (displaying the results). Is there an example anywhere in the
> Netty community / documentation which shows the correct way to do this. In
> particular the main items that I think are important are: a. how to keep
> correct sequence(s) of requests and responses. b. location of client call(s)
> code. c. location of server response(s) code. d. ensuring correct threads
> used i.e. edt and any other relevant threads. e. Any netty based
> synchronization required? thanks Ray
>
>
> --
> View this message in context:
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-3-2-5-and-swing-tp6741956p6741956.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110830/2c785252/attachment.html
More information about the netty-users
mailing list