GWT+JEE+jBoss

126 views
Skip to first unread message

rov.ciso

unread,
Sep 25, 2008, 7:17:21 AM9/25/08
to Google Web Toolkit
Good day. I want to develop my project with GWT. My server-side
application is jBoss servlet. What can I choose IDE?

Isaac Truett

unread,
Sep 25, 2008, 10:36:12 AM9/25/08
to Google-We...@googlegroups.com
You can use any IDE you want. I use Eclipse, if you're looking for a
personal endorsement (for whatever that's worth). The bottom line: use
what makes you most productive.

mbracken

unread,
Sep 25, 2008, 10:36:40 AM9/25/08
to Google Web Toolkit
I'd recommend using Eclipse as your IDE, then using ANT build files to
deploy to your jBoss app server.

rov.ciso

unread,
Sep 25, 2008, 1:36:51 PM9/25/08
to Google Web Toolkit
But I think that Eclipse with GWT and JBoss is very slow develop
solution. For example, compiling time is near 2 min.

mbracken

unread,
Sep 25, 2008, 2:42:29 PM9/25/08
to Google Web Toolkit
It's not Eclipse, it's the GWT Compiler that takes some time,
regardless of the IDE. Search around the forum and you'll find ways
to cut down the time during development. Look at setting the
user.agent in your *.gwt.xml file.

rov.ciso

unread,
Sep 26, 2008, 9:43:46 AM9/26/08
to Google Web Toolkit
Thanks. What operation system is better to develop java web project
with GWT and JBoss( Windows or Linux)?

gregor

unread,
Sep 26, 2008, 10:14:04 AM9/26/08
to Google Web Toolkit
Yes, also if you are using e.g. EJB's on your JBoss server, then you
can have a separate Ant task that compiles and deploys just the server
code to JBoss. That means that you don't have to wait for the GWT
compiler to grind through the java/javascript translation every time
you want to edit and redeploy e.g. EJB code during development cycle.

walden

unread,
Sep 26, 2008, 12:58:10 PM9/26/08
to Google Web Toolkit
The "best system to develop on" depends on what you know about the
ultimate production platform(s). For instance, I don't develop on
Linux because I know all my users will be using the product on
Windows, and in IE7 for that matter. Even though my deployed server
environment is Linux with Oracle database, I do my JBoss development
on Windows using MySQL. I have found the JPA layer sufficiently
neutral that I don't get bit often. Also, I develop on a laptop, and
I like having a completely self-contained and mobile development
environment that I can crank up in the shoe store while waiting for my
wife to make a decision, if need be.

Rapid feedback is a key quality in a development environment. I set
up my RPC like this:

1. My service servlet has a 2-phase service location algorithm: it
finds JBoss JNDI first on a well known port, then it tries to get the
local EJB, and only if that fails it gets the remote EJB. In
production, it will end up using the local; in development the remote,
which is fast enough for testing.

2. When I test in Hosted Mode (launched from IDEA in debug mode), I
have the shell/browser/servlet in one JVM and JBoss/EJB in another.

3. Client side code changes can be quickly refreshed and debugged in
hosted mode. I do a lot more fidgeting with my client side than my
server side, so the main part of development testing is this.

4. If I need to patch a server class, I start a second remote debug
session to JBoss and let IDEA do hot code swap. This works as long as
the Java schema does not change, else I have to re-build and deploy my
server, which does incur a slightly longer wait (about 1 minute).

5. When the widgets are stable and the client logic is working, I
switch to "Compile/Browse" to fine tune CSS in a real browser, where
feedback is lightning fast, much faster than refreshing the shell.

Walden
> > > solution. For example, compiling time is near 2 min.- Hide quoted text -
>
> - Show quoted text -

darkman97

unread,
Sep 27, 2008, 6:22:30 AM9/27/08
to Google Web Toolkit
We're using eclipse Europa with jboss tools ( http://www.jboss.org/tools/download/
).

We recomend to use jboss tools (stable), althought at starting are
several important that probably you could not found so much
information and you'll need some time to understanding how runs some
important options. Pay attention on "Project archives" tab -> there
you create ear and war project packaging. Here's for good developing
is important to set explode option to deploy jboss server on
attendance to not need recreate all .ear or war file, simply
automatically copy jsp, classes changed on jboss server without
needing to recreate war file and redeploying ( so tedious ).

When we'll OpenKM release 3.0 ( probably next month) we'll update
documentation / developer guide -> there it'll be explained well how
to configure it fine for developing.

Here coul get interesting information too ->
http://in.relation.to/3256.lace
http://in.relation.to/Bloggers/FastAndIncrementalPackagingInJBossTools
( if you migrate from older jboss ide 1.6 or 2.0)

Josep

christi...@web.de

unread,
Oct 10, 2008, 3:09:32 PM10/10/08
to Google Web Toolkit
Hello,

I am trying to do the steps described in the developer guide on the
openkm.com homepage, but it is not working as described.

I had some trouble with the different versions. Now I have Eclipse
Ganymede 3.4, Java 1.6.0_10, gwt-linux-1.4.62 and the latest stable
JBoss release. The JBoss Tools I downloaded through the Update Manager
in Eclipse, so it must be the latest stable release.

Still there are errors during the compile, but the XDodclet is running
successful and also the generate.sh is running successful.

But now I wnat do the step described in the developer guide after the
generate.sh --> building the EAR file.

For that I have to press CTRL+Shift+F2. But that is not working in my
Eclipse Ganymede 3.4. First there is no such combination of key
functions. Second nothing is done. And also I do not know how to
generate the ear files. Must I use the ANT program? But then the
questions comes how to configure it?

Can you give me an description how to do it step bystep?

thanks in advance.

with regards
christian


On 27 Sep., 12:22, darkman97 <darkman...@gmail.com> wrote:
> We're using eclipse Europa with jboss tools (http://www.jboss.org/tools/download/
> ).
>
> We recomend to use jboss tools (stable), althought at starting are
> several important that probably you could not found so much
> information and you'll need some time to understanding how runs some
> important options. Pay attention on "Project archives" tab -> there
> you create ear and war project packaging. Here's for good developing
> is important to set explode option to deploy jboss server on
> attendance to not need recreate all .ear or war file, simply
> automatically copy jsp, classes changed on jboss server without
> needing to recreate war file and redeploying ( so tedious ).
>
> When we'll OpenKM release 3.0 ( probably next month) we'll update
> documentation / developer guide -> there it'll be explained well how
> to configure it fine for developing.
>
> Here coul get interesting information too ->http://in.relation.to/3256.lacehttp://in.relation.to/Bloggers/FastAndIncrementalPackagingInJBossTools
Reply all
Reply to author
Forward
0 new messages