How can I get Image from ImageBundle by String?

2009-08-23 Thread barclay allen
I have an image bundle setup. public static final MyIcons ICONS = GWT.create(MyIcons.class); I can get the image with this. ICONS.smiley_face().createImage() How can I dynamically get the smiley_face image by passing a string smiley_face? --~--~-~--~~~---~--~~

Can't enable get Jetty Plus feature

2009-06-09 Thread barclay allen
How do you add jetty-plus-6.1.11.jar and jetty-naming-6.1.11.jar to class path so that stand alone jetty can see it? It runs in Hosted Mode but not in stand alone Jetty. I have jetty-plus-6.1.11.jar and jetty-naming-6.1.11.jar in WEB-INF/ lib. I keep getting: [WARN] Config error at New

Whats wrong with this database connection method?

2009-05-29 Thread barclay allen
I want to make a gwt app with large number of concurrent users. Users will run many queries. Shouldn't I keep the connection open in this servlet so it can execute the queries faster like below? In the code below, for every user accessing this servlet does it create a new connection to the

Whats wrong with this database connection method?

2009-05-29 Thread barclay allen
I want to make a gwt app with large number of concurrent users. Users will run many queries. Shouldn't I keep the connection open in this servlet so it can execute the queries faster like below? In the code below, for every user accessing this servlet does it create a new connection to the

Database Database Connectivity RPC

2009-04-26 Thread barclay allen
I'm starting a high traffic web application. I just setup a MySQL server for GWT app. 1. Is the practical way still opening and closing a connection like below? What about database connectivity with RPC? Below, for every RPC service method call, I open a database connection, make a query,