• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

[announcement] EJB3 + Struts2 + JBoss plugin

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

Writing to let you know I have posted a refurbished plugin aimed
specifically at EJB3 + Struts2 (xwork2) + JBoss integration.

Feel free to download & test: plugin page on google code

Cheers,
Lucas
[ October 31, 2008: Message edited by: Lucas Lech ]
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Lucas,

Nice plugin.
Coincidentally, last week I had to change the original struts2ejb3 plugin to work on IBM Websphere 6.1.

I'm gonna bookmark that plugin
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good Catch.
Thanks for sharing
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
seems to losse the value in statful ejb

i've done some trial:.

an action

@InjectEJB(name = "WAP-Shop/TestDeiBeanBean")
TestDeiBeanLocal tdb;
public String execute() throws Exception {
// scb = lookupShopCartBean();
System.out.println("value --> " + tdb.value());
System.out.println("setTrue " + tdb.setTrue());

...}

the ejb

private boolean b = false;

public boolean value() {
return b;
}

public boolean setTrue() {
b = true;
return b;
}

public boolean setFalse() {
b = false;
return b;
}


the output is:


21:27:46,062 INFO [STDOUT] value --> false
21:27:46,078 INFO [STDOUT] setTrue true

--lose data--
21:27:47,578 INFO [STDOUT] value --> false
21:27:47,578 INFO [STDOUT] setTrue true

--mantain data--
21:27:48,265 INFO [STDOUT] value --> true
21:27:48,265 INFO [STDOUT] setTrue true

--lose data--
21:27:48,671 INFO [STDOUT] value --> false
21:27:48,671 INFO [STDOUT] setTrue true
21:27:49,453 INFO [STDOUT] value --> false
21:27:49,453 INFO [STDOUT] setTrue true


--manatain data
21:27:49,875 INFO [STDOUT] value --> true
21:27:49,875 INFO [STDOUT] setTrue true
21:27:50,328 INFO [STDOUT] value --> true
21:27:50,328 INFO [STDOUT] setTrue true
21:27:50,734 INFO [STDOUT] value --> true
21:27:50,734 INFO [STDOUT] setTrue true
21:27:51,046 INFO [STDOUT] value --> true
21:27:51,046 INFO [STDOUT] setTrue true
21:27:51,671 INFO [STDOUT] value --> true
21:27:51,671 INFO [STDOUT] setTrue true
21:27:52,265 INFO [STDOUT] value --> true
21:27:52,265 INFO [STDOUT] setTrue true

what appends?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic