Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP and Jboss
RAP and Jboss [message #119229] Thu, 22 January 2009 13:32 Go to next message
Irene Kovalenko is currently offline Irene KovalenkoFriend
Messages: 1
Registered: July 2009
Junior Member
Hi all!

I'm new to RAP and I've a question: is it possible to deploy RAP app into
application containers (such as Jboss, e.g.)?
I read that RAP could be deployed into servlet containers, but it's a
little different.. If it's possible, could you provide me with a demo or
HOWTO, please?

Thanks in advance,
Irene.
Re: RAP and Jboss [message #119267 is a reply to message #119229] Thu, 22 January 2009 16:49 Go to previous messageGo to next message
Howard is currently offline HowardFriend
Messages: 29
Registered: July 2009
Junior Member
I have an application where the thick-client is written in SWT. Server
code and webservices etc deployed on JBoss in a EAR. I got a requirement
to move the client onto the web, so I chose RAP.

I then created a new RAP entry point, threw it into a new WAR, and
deployed it on JBoss. Voila, my app now runs on the web. Okay it wasn't
voila, but after 2 weeks of work to get this decent sized app onto the
web, I'm amazed. :)
If you can create a WAR or EAR, then you can deploy RAP app.

As for setup details, you can take a look at the RAP FAQ,
http://wiki.eclipse.org/RAP/FAQ that's where I got most of my inspirations
from.
Re: RAP and Jboss [message #122338 is a reply to message #119267] Tue, 24 February 2009 00:25 Go to previous messageGo to next message
Daniel Kranowski is currently offline Daniel KranowskiFriend
Messages: 7
Registered: July 2009
Junior Member
Hello Howard,

I am thinking of doing exactly what you did: porting an SWT app to
JBoss/RAP/WAR. I looked at your RAP FAQ link and I'm having trouble
putting it all together into one simple Hello World.

Would you be able to post a bit more info on what you did?

Also saw https://bugs.eclipse.org/bugs/show_bug.cgi?id=252881 regarding
WAR files but I can't figure out what to do with it. I haven't gotten a
non-WAR RAP Hello World yet either, I'm hazy on PDE builds and entry
points, I haven't figured out where the OSGi console is. I need some
pointers.

Thanks for any help,
Daniel
Re: RAP and Jboss [message #122371 is a reply to message #122338] Tue, 24 February 2009 04:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: evolanakis.innoopract.com

Daniel,

here are some additional pointers on .war deployment:

http://help.eclipse.org/ganymede/topic/org.eclipse.rap.help/ help/html/advanced/deployment.html

http://rapblog.innoopract.com/2007/12/rap-deployment-part-2- deploying-your.html

Bug 252881 is about providing a wizard to automate .war deployment. I
haven't had time to implement it yet. Feel free to vote for it. The more
votes it has, the easier for me to get support for working on it.

Elias.

Daniel Kranowski wrote:
> Hello Howard,
>
> I am thinking of doing exactly what you did: porting an SWT app to
> JBoss/RAP/WAR. I looked at your RAP FAQ link and I'm having trouble
> putting it all together into one simple Hello World.
>
> Would you be able to post a bit more info on what you did?
>
> Also saw https://bugs.eclipse.org/bugs/show_bug.cgi?id=252881 regarding
> WAR files but I can't figure out what to do with it. I haven't gotten a
> non-WAR RAP Hello World yet either, I'm hazy on PDE builds and entry
> points, I haven't figured out where the OSGi console is. I need some
> pointers.
>
> Thanks for any help,
> Daniel
>
>


--
---
Elias Volanakis
Innoopract, Inc.
http://www.innoopract.com
Re: RAP and Jboss [message #122497 is a reply to message #122338] Tue, 24 February 2009 18:56 Go to previous messageGo to next message
Howard is currently offline HowardFriend
Messages: 29
Registered: July 2009
Junior Member
Hi Daniel,

If you are referring to RCP, see the links Elias provided.
If you have an existing standalone SWT app and not an RCP app, the FAQ
should get you started. I started writing and posting contents of my war,
until I realized that the FAQ has exactly what I was writing. :p Try
following the write up under "How do I use a RWT standalone application in
Tomcat" before you hook your app to the hello world. If you have other
more specific questions, I'll try to remember to check back and help.

Cheers,
Howard
Re: RAP and Jboss [message #122516 is a reply to message #122497] Tue, 24 February 2009 19:59 Go to previous messageGo to next message
Daniel Kranowski is currently offline Daniel KranowskiFriend
Messages: 7
Registered: July 2009
Junior Member
Thanks Elias & Howard! The Tomcat example worked perfectly for me in both
Tomcat 5.5.27 and also JBoss 5.0.0.GA.

Now I just have to figure out why the Hello World actually worked....
i.e. What are RWTDelegate, RWTServletContextListener, entryPoints? What
is expecting to see w4t.xml? But I'll start looking into those myself for
now.
Re: RAP and Jboss [message #122598 is a reply to message #122338] Wed, 25 February 2009 12:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jancsi.reea.net

Hello,

The OSGi console appears if only it is enabled from the web.xml file.
If it is enabled, then it will appear on the console where you started
jboss/tomcat. I think you have to start both tomcat and jboss as
application not as service (with catalina run / run.sh )

Regards,
Jancsi

Daniel Kranowski wrote:
> Hello Howard,
>
> I am thinking of doing exactly what you did: porting an SWT app to
> JBoss/RAP/WAR. I looked at your RAP FAQ link and I'm having trouble
> putting it all together into one simple Hello World.
>
> Would you be able to post a bit more info on what you did?
>
> Also saw https://bugs.eclipse.org/bugs/show_bug.cgi?id=252881 regarding
> WAR files but I can't figure out what to do with it. I haven't gotten a
> non-WAR RAP Hello World yet either, I'm hazy on PDE builds and entry
> points, I haven't figured out where the OSGi console is. I need some
> pointers.
>
> Thanks for any help,
> Daniel
>
>
Re: RAP and Jboss [message #122615 is a reply to message #122598] Wed, 25 February 2009 13:47 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
You can even put a port behind the console command (eg. -console 9999)
and access it via telnet.

Cheers
Benny

Jancsi Farkas wrote:
> Hello,
>
> The OSGi console appears if only it is enabled from the web.xml file.
> If it is enabled, then it will appear on the console where you started
> jboss/tomcat. I think you have to start both tomcat and jboss as
> application not as service (with catalina run / run.sh )
>
> Regards,
> Jancsi
>
> Daniel Kranowski wrote:
>> Hello Howard,
>>
>> I am thinking of doing exactly what you did: porting an SWT app to
>> JBoss/RAP/WAR. I looked at your RAP FAQ link and I'm having trouble
>> putting it all together into one simple Hello World.
>>
>> Would you be able to post a bit more info on what you did?
>>
>> Also saw https://bugs.eclipse.org/bugs/show_bug.cgi?id=252881
>> regarding WAR files but I can't figure out what to do with it. I
>> haven't gotten a non-WAR RAP Hello World yet either, I'm hazy on PDE
>> builds and entry points, I haven't figured out where the OSGi console
>> is. I need some pointers.
>>
>> Thanks for any help,
>> Daniel
>>
>>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:GridData - exclude
Next Topic:RWT.getLocale() aware JFace data binding
Goto Forum:
  


Current Time: Mon Feb 06 20:59:47 GMT 2023

Powered by FUDForum. Page generated in 0.02178 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top