Discussion:
[errai-users] newbe question: errai and modules development
pat
2010-11-23 09:32:29 UTC
Permalink
Hello,

I'm currently searching how to build modular application based on GWT. I know
that when building GWT application there's necessary to have all sources of
all parts, because of the code optimization during the GWT compilation.

I've searched and find Errai project. My question is: Is it possible to build
separated modules over the Errai framework and built final application based
on e.g. 3 modules without having all sources? Something like netbeans modules
or eclipse plugins. If so, is there a basic example? And is there a way how to
plug modules dynamically to the existing Errai application?

Thanks a lot

Pat

----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
Heiko Braun
2010-11-23 09:49:55 UTC
Permalink
Hi pat,

you always need either the sources or a valid GWT module, including the descriptor.
You can take a look at how workspaces functions. The basic functionality is described in the user guide.
Looking at the project skeleton created through the maven archetype also helps.
it basically allows you to combine different modules in a single GWT compilation cycle and pull plugins from a central maven repo. If I understand you correctly, that's what you are looking for right?

let me know if that helps,
Heiko
Post by pat
Hello,
I'm currently searching how to build modular application based on GWT. I know
that when building GWT application there's necessary to have all sources of
all parts, because of the code optimization during the GWT compilation.
I've searched and find Errai project. My question is: Is it possible to build
separated modules over the Errai framework and built final application based
on e.g. 3 modules without having all sources? Something like netbeans modules
or eclipse plugins. If so, is there a basic example? And is there a way how to
plug modules dynamically to the existing Errai application?
Thanks a lot
Pat
----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
_______________________________________________
errai-users mailing list
errai-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/errai-users
pat
2010-11-23 10:43:29 UTC
Permalink
Hello Heiko,

Thanks for quick response. I have more questions.

Well basic idea is: create application which is extensible by a 3rd person,
but I don't want to give this person sources of my application. The 3rd person
is allowed to only use my API. And next thing I want is to not build
everything in each compilation.

Now I see these issues:
1) The valid GWT module contains sources too
2) What's the "single GWT compilation cycle"? Think this means everything
together.
3) The plugins in central repo also need the sources?

Thanks for you help.

Pat
Post by Heiko Braun
Hi pat,
you always need either the sources or a valid GWT module, including
the descriptor. You can take a look at how workspaces functions. The
basic functionality is described in the user guide. Looking at the
project skeleton created through the maven archetype also helps. it
basically allows you to combine different modules in a single GWT
compilation cycle and pull plugins from a central maven repo. If I
understand you correctly, that's what you are looking for right?
let me know if that helps,
Heiko
Post by pat
Hello,
I'm currently searching how to build modular application based on GWT. I know
that when building GWT application there's necessary to have all sources of
all parts, because of the code optimization during the GWT compilation.
I've searched and find Errai project. My question is: Is it possible to build
separated modules over the Errai framework and built final application based
on e.g. 3 modules without having all sources? Something like netbeans modules
or eclipse plugins. If so, is there a basic example? And is there a way how to
plug modules dynamically to the existing Errai application?
Thanks a lot
Pat
----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
_______________________________________________
errai-users mailing list
errai-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/errai-users
----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/

Loading...