[jboss-user] [EJB 3.0] - Custom Annotations on EJBs

2009-03-25 Thread bryan.kearney
Please take a look at this post: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150672 I would like to add my own custom annotation to an EJB, and be able to have it scanned at startup time.. similar to how @WebService is scanned by the deployer. Is there doco on how to accomplish th

[jboss-user] [EJB 3.0] - How many fine grained timers?

2009-03-25 Thread bryan.kearney
I am current using a timer service to "wake up" and iterate over a collection of stored queries. I am considering associating one timer and one query so that each query can have a different refresh time. I hate to ask a quesiton like this, but are timers defined to be fine grained. All the examp

[jboss-user] [Microcontainer] - Re: directly injecting a bean in a property

2009-03-25 Thread bryan.kearney
Yeah.. that worked.. thanks. However, aren't the two lines the same? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220941#4220941 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220941 __

[jboss-user] [Microcontainer] - Re: directly injecting a bean in a property

2009-03-25 Thread bryan.kearney
I noticed I did not comments out the first Muppet bean. Even if I do that: | | http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="urn:jboss:bean-deployer:2.0 bean-deployer_2_0.xsd" | xmlns="urn:jboss:bean-deployer:2.0"> | | | |

[jboss-user] [Microcontainer] - Re: directly injecting a bean in a property

2009-03-25 Thread bryan.kearney
Sure. Here is the xml | | http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="urn:jboss:bean-deployer:2.0 bean-deployer_2_0.xsd" | xmlns="urn:jboss:bean-deployer:2.0"> | | | | amqp://guest:guest@/?brokerlist='tcp://loc

[jboss-user] [Microcontainer] - Re: directly injecting a bean in a property

2009-03-25 Thread bryan.kearney
I am using Jboss 5.0 on Fedora 10, with the sun JDK. What stack are you running on? -- bk View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220868#4220868 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220868 __

[jboss-user] [Microcontainer] - directly injecting a bean in a property

2009-03-24 Thread bryan.kearney
Following the docs here: http://www.jboss.org/file-access/default/members/jbossmc/freezone/docs/2.0.x/userGuide/ch11s03.html I attempted to replace this xml: | | | | Muppet | | | |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Approach for mappng a properties table

2009-03-18 Thread bryan.kearney
I am looking for advice on how to map a properties table. Assume a schema such as: Objects_Table ObjectID ObjectName ObjectType Properties_Table ObjectID PropertyID PropertyValue Assuming that for OID 12 there are 2 properties (NAME and Descripti

[jboss-user] [Microcontainer] - Re: Accessing EJB's with custom annotations.

2009-02-20 Thread bryan.kearney
Well.. at least i dont feel too bad about not being able to follow the blog. So.. how does the jbossws stuff accomplish this? This seems like something in the deployers/jbossws.deployer is intercepting the EJB deployment and adding endpoints into a web application. It seems like all the bits to

[jboss-user] [Microcontainer] - Re: Accessing EJB's with custom annotations.

2009-02-19 Thread bryan.kearney
I have seen it.. but does this work for EJB's as well? I ask becuase I have an EJB which looks like this: @Command(commandName = "PingBackend") @AuditType(AuditLogType.PING_BACKEND) @Stateless public class PingBackendCommand extends VdcCommandBase { I then created an Annotation Resolver:

[jboss-user] [Microcontainer] - Accessing EJB's with custom annotations.

2009-02-17 Thread bryan.kearney
I dont know if this is an EJB or a Microcontainer question, but I will post it here. I am working with JBoss 5.0 GA. I would like to be able to annotate my session beans with a custom annotation (say @BK) and be able to interrogate the EJBs with this annotation at load time. Using interceptors i

[jboss-user] [JBossWS] - Re: Native versus Metro

2009-02-10 Thread bryan.kearney
OK.. thanks! From what I can see... both Native and Metro have good adoption of the soap/http transport and for the WSIT stack on top of that. However, if I want to look at non http or JMS, then Metro seems to be the choice. Am I missing something? Thanks again. View the original post : http:

[jboss-user] [JBossWS] - Re: Class cast excpetion with an RM client

2009-02-09 Thread bryan.kearney
OK.. I had not used the wsrunclient.sh in the JBOSS_HOM/bin directory. Using this script, instead of my own script, allowed me to get past this issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208238#4208238 Reply to the post : http://www.jboss.org/inde

[jboss-user] [JBossWS] - Class cast excpetion with an RM client

2009-02-06 Thread bryan.kearney
I am attempting to test a RM client as a stand alone jar file using JbossWS-native against a service which is deployed in a Jboss 5.0 container. I have a simple client which I generated using wsconsume. I am following the directions from http://jbossws.jboss.org/mediawiki/index.php?title=WS_R

[jboss-user] [JBossWS] - Native versus Metro

2009-02-06 Thread bryan.kearney
Is there an up2date version of this: http://wiki.apache.org/ws/StackComparison I have some services which work under Native, but not under Metro. I am very interested in WCF integration.. and some of the items listed here (tcp transport) would be very important. View the original post : http

[jboss-user] [JBossWS] - Re: Should @EJB work in Pojo's deployed as a WebService?

2009-02-03 Thread bryan.kearney
I am running this in JBoos 5.0, Using JbossWS-Metro 3.0.5 as the web container. In addition, I have updated the web.xml as described at the end of this post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=143277 View the original post : http://www.jboss.com/index.html?module=bb&op=v

[jboss-user] [JBossWS] - Should @EJB work in Pojo's deployed as a WebService?

2009-02-03 Thread bryan.kearney
I have a pojo which is being deployed as a servlet in a war file. The goal is to expose the pojo as a WS endpoint (Metro endpoint actually). If I add any J2EE annotations (@EJB or @Resource) they come back as null. Is the expectation that Pojos deployed should be able to use these annotations?

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2009-02-03 Thread bryan.kearney
Should the use of JBossWS-Metro cause this not to work? I have a simple POJO exposed as a web service. It is deployed into a Jboss5 App Server with JbossWS-Metro installed. The POJO references an @EJB and I get NullPointerExceptions when accessing hte instance variable. -- bk View the origina

[jboss-user] [JBossWS] - Re: Jar file for org.jboss.ws.core.soap.SAAJMetaFactoryImpl.

2009-01-30 Thread bryan.kearney
As a note.. I also see this when attempting to run metro in 3.0.5 on JBOSS 5.0. The cause is that the build (in jbossws-as5-default-deploy.conf) deletes the jbossws-native-core.jar file which contains this class. If I the jar back in, the server boots up. View the original post : http://www.

[jboss-user] [EJB/JBoss] - Stateful Session Beans as Web Services on Jboss 5.0

2009-01-27 Thread bryan.kearney
I declared an @Stateful bean implementation to also be an @WebService. When I did this, I got the following exception. I scanned the code of StatefulContainer and it appeared to extend/implement the same interfaces as Stateless container. In addition, with the assert in front of of the cast.. I

[jboss-user] [EJB 3.0] - Re: 2 Stateless session beans, same name+interface, differen

2009-01-27 Thread bryan.kearney
Did you ever get an answer to this? Did you have to go to using JNDI directly.. or some other solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205052#4205052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=420505