File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Blatant Advertising and the fly likes [announcement] EJB3 + Struts2 + JBoss plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Blatant Advertising
Bookmark "[announcement] EJB3 + Struts2 + JBoss plugin" Watch "[announcement] EJB3 + Struts2 + JBoss plugin" New topic
Author

[announcement] EJB3 + Struts2 + JBoss plugin

Lucas Lech
Greenhorn

Joined: Dec 10, 2007
Posts: 23
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 ]
Jair Rillo Junior
Ranch Hand

Joined: Aug 27, 2008
Posts: 114
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


Regards, Jair Rillo Junior
http://www.jairrillo.com/blog, SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 5.0, IBM SOA Associate (Test 664).
Pavan Menon
Ranch Hand

Joined: Jan 07, 2008
Posts: 85
Good Catch.
Thanks for sharing


SCJP 6.0<br />--------<br /><a href="http://credit-card-types.blogspot.com" target="_blank" rel="nofollow">Wisdom Credit Cards</a>
stefano Tra
Greenhorn

Joined: Apr 09, 2009
Posts: 10
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [announcement] EJB3 + Struts2 + JBoss plugin