[Design of POJO Server] - Re: JSR77 View
by alesj
"adrian(a)jboss.org" wrote :
| So you could for example have an EJBJSR77Deployer that looks at the
| ejb metadata and then either creates the ServiceMetaData for the relevant
| jsr77 mbean(s) or talks to the LocalJBossServerDomain directly.
|
How do I know what all is ejb metadata?
Looking at the JBossMetaData attachment?
| public org.jboss.metadata.ejb.jboss.JBossEnterpriseBeansMetaData getEnterpriseBeans() { /* compiled code */ }
|
| public org.jboss.metadata.ejb.jboss.WebservicesMetaData getWebservices() { /* compiled code */ }
|
| public org.jboss.metadata.ejb.jboss.ResourceManagersMetaData getResourceManagers() { /* compiled code */ }
|
Checking all of these, or just enterprise beans?
But even better question is how to collect all the metadata for JCA / RAR.
Just looking at the jca-deployers-jboss-beans.xml gives me shivers. :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182402#4182402
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182402
16 years, 3 months
[Design of AOP on JBoss (Aspects/JBoss)] - Mavenised build and Eclipse
by kabir.khan@jboss.com
The thirdparty folder has now been removed. This means Eclipse now picks up the thirdparty files from your local maven repository so you need to set up a M2_REPO classpath variable in Eclipse to point to that.
If you update versions of dependencies in the root pom.xml you need to run
mvn eclipse:eclipse
to regenerate the Eclipse .classpath files to point to those new versions. This uses the dependency information in the pom.xml's to generate the classpath settings. I have commited the ones resulting from my local run. If you refresh from subversion and you do not yet have the versions referenced in the .classpath files in your local repository, you need to run
mvn install
from the root of your aop checkout which will populate your local maven repository.
Another thing is that having your eclipse workspace in your aop checkout folder will no longer work, since the eclipse plugin uses different names for the projects than previously. There might be other ways around this, but the way I have got around this for this and other projects is to create the workspace in jboss-aop/eclipse and to have the subversion checkout in jboss-aop/subversion.
Some of the folders/files need to be excluded from the build for compilation errors of things that cannot be found. These are:
jboss-aop-aspects/src/test/org/jboss/test/asynch
jboss-aop/src/main/org/jboss/aop/hook/JRockitClassPreProcessor.java
The eclipse plugin does not exclude these. I have manually excluded these in the .classpath files. Paul, is there a way to have the eclipse plugin exclude these when generating the .classpath files?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182364#4182364
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182364
16 years, 3 months