Anto
unread,Mar 16, 2012, 8:54:53 AM3/16/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
Hi, this is my first time around and I have a bunch of doubts but I'm
gonna try to be precise.
I have to complete a task which involves 4 majors terms I'm not very
related with.
JBoss, GWT, RPC and WAR
The task is: To make a web project in WAR format which must have a GWT
app. This app must have at RPC services. RPC services can be anything,
just simplistic. The RPC must be made from an interface, using a
button or whatever.
Then that WAR will be deployed in a JBoss server, and test the RPC
using the interface.
So here is my knowledge so far after reading and researching.
WAR files are web application packages, similar to EJB files but using
web.
JBoss is an application server where you can deploy WAR and EJB files.
So the app within the WAR file can be reachable using a web browser.
GWT is the Google Web Toolkit to make web applications using Java
language. the compiler make all the dirty job and generates all the
HTML and JS files. You can make the WAR file out of this.
And finally RPC are calls to ask for a remote services, is a method
implemented on a remote place, so is available to be requested. That
way the 'local' app avoid implementing those procedures and focus on
local ones only.
The thing is I'm not quite sure of somethings.
I can make my GWT app and package it in a WAR file, I have JBoss
running, so if I copy the war files to the deploy folder it'll be
running, but I don't know where to place the remote procedures and I
don't know where to make the interface.
So, should I make my GWT project and implement there some methods to
be used as RPC, and then totally apart, make an interface, like a HTML
file or something to call those RPC? (important: totally apart? and
HTML works? or it must be like other type of interface?)
This is the kind-of-diagram I have in mind and I don't know if it's
correct:
[JBoss server1] WAR project(Procedures1, Procedure2)
----------------------> Interface which somehow uses something like
server1:procedure1 and then print the result of procedure1 somewhere
(in the interface).
I really wanna get this clear,
Many thanks in advance.