0

EJB access an example pleasse

asked 2006-04-14 20:10:45 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3687334

By: julgarso72

Hi.

Somebody has an example to access an EJB from ZK?

I'm using JBOSS 4.0.3SP1.

Thanks.


delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2006-04-15 14:26:29 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3688229

By: tomyeh

How did you access EJB without ZK? ZK won't change how you handle it.

MyBeanHome home = (MyBeanHome)jndi.lookup...; for (Iterator it = home.findByCond(cond).iterator();...

In ZUML, you could use forEach and init to make it more readable as depicted in the small talk:
http://zk1.sourceforge.net/smalltalks/hibnsprn/hibn_sprn_zk.html

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-04-14 20:10:45 +0800

Seen: 284 times

Last updated: Apr 15 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More