users@glassfish.java.net

Re: _at_Webservice and JMS _at_Resource

From: <glassfish_at_javadesktop.org>
Date: Wed, 03 Oct 2007 07:09:14 PDT

I'm having the same issue using Sun Java System Application Server 9.1 (build b58g-fcs).

@Stateless()
@WebService()
public class OutboundService {

    @Resource(mappedName = "jms/ConnectionFactory")
    private static ConnectionFactory lsrConFactory;
    
    @Resource(mappedName = "jms/Topic")
    private static Topic topic;
}


--> From admin page
        
 JNDI Name Enabled Description
        jms/ConnectionFactory true Generic Connection Factory


        jms/Topic true javax.jms.Topic Outbound Topic
[Message sent by forum member 'dokujaryu' (dokujaryu)]

http://forums.java.net/jive/thread.jspa?messageID=238275