PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Want more features on Pastebin?
Sign Up
, it's FREE!
Public Pastes
Untitled
32 sec ago
jeipa's save ruim
14 sec ago
Untitled
34 sec ago
Untitled
PHP | 33 sec ago
Exercicio01Questã...
Java | 33 sec ago
Untitled
38 sec ago
Untitled
38 sec ago
searchandfinger.sh
47 sec ago
Arquillian
By: a guest on
Feb 12th, 2011
| syntax:
Java
| size: 0.19 KB | views:
187
| expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
@Resource UserTransaction trans
@EJB SessionBean bean
@Test
public
void
test
(
)
{
trans.
begin
(
)
;
bean.
doStuff
(
)
;
trans.
rollback
(
)
;
}
clone
this paste
RAW Paste Data
@Resource UserTransaction trans @EJB SessionBean bean @Test public void test() { trans.begin(); bean.doStuff(); trans.rollback(); }