aspose file tools*
The moose likes GWT and the fly likes GWT with MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT with MVC" Watch "GWT with MVC" New topic
Author

GWT with MVC

Filipe G. Miranda
Greenhorn

Joined: May 20, 2013
Posts: 7
Hello Good Night!

Congratulations for this so wonderful forum.

I am working in a Struts 1 Projetct. This Project contains many JSP Forms, ActionForms and ActionForwards.

Now I need to develop 2 more pages, but these ones must be in GWT.

How may I do That, create new pages, using GWT and the existing BO's, and DAO's?

I d like to have the GWT page and the formbean and action forward to work with the DAO's.

Tks!
Lekh Raj
Greenhorn

Joined: May 20, 2013
Posts: 2
Hi,
It should not be too difficult.
I suggest you go over the simple tutorial that teaches how to make GUI in GWT to start with.
http://www.tutorialspoint.com/gwt/index.htm

Also you can continue to use your existing BO's & DAO as it is.

I would recommend you to use UiBinder for creating GUI as it is very useful in separating UI with business logic.
Filipe G. Miranda
Greenhorn

Joined: May 20, 2013
Posts: 7
I d like to use the context of struts (The session request.getSession().getAttribute("test"); )


For example, I will need to get the Company code, and the user code from the session.

Tks

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: GWT with MVC