Quantcast
Channel: gwt beginner- how to organise+store code in java web app that uses gwt for frontend and also has backend code - Stack Overflow
Viewing all articles
Browse latest Browse all 5

gwt beginner- how to organise+store code in java web app that uses gwt for frontend and also has backend code

$
0
0

I am working on a Java web app- it will use GWT for the front end.

I understand that for the package com.abc.xyz, client side code will be in com/abc/xyz/client, while server side code will be in com/abc/xyz/server

The same web app also has some purely java code, eg a listener which waits for new items to be added to a queue- the application should then process items in the queue.

This code is partly in the package com.abc.xyz, as well as in some other packages- com.qwerty.package and com.pqr.zzz

Am I correct in thinking that the above type of app can be created as a combination of GWT and Java code?

How do I arrange the code of the packages mentioned above, in my src folder.Also, how do I get the final application- which consists of some pages created using GWT, as well as some purely server side code (like listeners)- will the entire generated code (consisting of JS/HTML from GWT and server side Java code used by GWT as well as pure Java code used by server side listener)- do I run it as web application under Google Menu in Eclipse? Will this automatically create the desired java war file correctly?

Also, I plan to use Smart GWT for the front end part- will this mean some change in the procedure when compared to pure GWT applications?


Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles





Latest Images