GWT + EJB

74 views
Skip to first unread message

ph09

unread,
Nov 2, 2011, 3:15:17 PM11/2/11
to google-we...@googlegroups.com
Hello,

I want to use EJB in my GWT Application, but I coulnd't find a current Tutorial. I am new to the topic of EJB's and with GWt I have worked the last months. At the moment I have got some RPC Calls in my GWT Application and this works. Is it's possible in GWT to use EJB and if yes would it be difficult to install?


András Csányi

unread,
Nov 2, 2011, 3:56:20 PM11/2/11
to google-we...@googlegroups.com

On one hand, there is a project called gwtejb looking for it on the internet.

On the other hand, the Stockwatcher [1] example provides you good
basics because when you finish this tutorial you will have have a
servlet. In my application the servlet calls the session beans and the
beans deal with the entities.

http://code.google.com/webtoolkit/doc/1.6/tutorial/RPC.html

But, here is another example. I didn't try it, but it looks like well detailed.
http://www.javacodegeeks.com/2010/09/gwt-ejb3-maven-jboss-51-integration.html

But I would like to warn you I'm not a big java and JEE geek, so you
should wait other, well experienced guys' answers or you should google
it.

--
- -
--  Csanyi Andras (Sayusi Ando)  -- http://sayusi.hu --
http://facebook.com/andras.csanyi
--  ""Trust in God and keep your gunpowder dry!" - Cromwell

Alvin Reyes

unread,
Nov 2, 2011, 5:09:50 PM11/2/11
to google-we...@googlegroups.com
Hi, 

I do think this is possible.

I do have experience in EJB and also tried GWT. What I'm thinking is you can create a server side wrapper that calls business components - much like creating a business locator utility that will locate your EJBs on the server side (you can find a lot of tutorials with this). Then you need to import your stubs / references to your GWT application.

Theres a lot of tutorials in the internet for EJB and GWT, just pick up the pieces and you'll surely mold these 2 great technologies. :)


On Thu, Nov 3, 2011 at 3:15 AM, ph09 <ph.h...@googlemail.com> wrote:
Hello,

I want to use EJB in my GWT Application, but I coulnd't find a current Tutorial. I am new to the topic of EJB's and with GWt I have worked the last months. At the moment I have got some RPC Calls in my GWT Application and this works. Is it's possible in GWT to use EJB and if yes would it be difficult to install?


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/3_KJXXPkkScJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
Alvin P. Reyes
Oracle Certified Professional, Java Programmer
Oracle Certified Professional, Java Web Component Developer
Oracle Certified Professional, Java Business Component Developer
Software Engineer


Reply all
Reply to author
Forward
0 new messages