Dear all! i am wondering if the is a good way to re-use legacy code in GWT.
the use case is to extend a well established webapp with GWT, where the legacy code has several beans that perfectly fit in the 'shared' package of a GWT module, ie. that can/should be used in the server, as well as translated into js in the client. the problem is that those beans are part of packages with lot of other classes that do not fit for js translation, but GWT only allows me to 'import' whole packages with the 'source' node of a *.gwt.xml module configuration file. on the other hand, it would be easy to rewrite the beans for exclusive use in the GWT module, but then i will have to always translate the legacy beans into the gwt beans and vice-versa, which could be a very expensive and unnecessary task... so i am just wondering if there is any way to use my legacy code without the expensive translation process... mmm.... i see it is even not THAT easy, since in one of those beans there is for instance a constructor i know i wont use in GWT, which uses *bad* classes... it would be great to have some annotations to tell GWT that some classes/methods are (or are not) to be translated into js... i realize by myself that chances to be able to do what i need are not big. but i would wonder if there has not been anybody else facing this problem... so any help is very much appreciated... thanks Michael -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
