It works now! And it's short and sweet. Hooray!
Thanks for your prompt help. This has driven my poor graduate student crazy for a long time.
[code]
@Stateless @LocalBean class ScalaSB {
def getLanguage() = {
"Scala"
}
}
@ManagedBean{val name = "test"} @SessionScoped class ScalaMB {
@EJB private[this] var slsb : ScalaSB = _
@BeanProperty var response : String = ""
def submit() : String = {
response = slsb.getLanguage()
null
}
}
[/code]
[Message sent by forum member 'cayhorstmann' (cayhorstmann)]
http://forums.java.net/jive/thread.jspa?messageID=351953