-
1. Question regarding JBOSS AS and Java pojos
alesj Apr 7, 2011 5:43 AM (in response to fredfred)1 of 1 people found this helpfulMicrocontainer is the AS' kernel,
and as such of course it's already part of AS.
* http://anonsvn.jboss.org/repos/jbossas/projects/presentations/trunk/microcontainer/J1_MC_2009.pdf
* http://java.dzone.com/articles/a-look-inside-jboss-microconta-0
You can bind pojos to JNDI, with @JNDI:
* http://anonsvn.jboss.org/repos/jbossas/projects/naming/trunk/naming-mc-int/
-
2. Question regarding JBOSS AS and Java pojos
fredfred May 10, 2011 1:35 AM (in response to alesj)//**********************************************************************************************************************************************
Q#1
What exactly am I looking at http://anonsvn.jboss.org/repos/jbossas/projects/naming/trunk/naming-mc-int/
?
If I am a netbeans user, or any other ide/editor java programmer, do I simply need to alter the XML pom.xml file appropriately
and place my compiled .java or .class file in
*..*/naming-mc-int/src/main/java/org/jboss/naming/microcontainer/
?
//**********************************************************************************************************************************************
Is @JNDI the only necessary thing to worry about, applying it to your ordinary Java class?
What jar file and package path does @JNDI belong to?
//**********************************************************************************************************************************************
-
3. Question regarding JBOSS AS and Java pojos
alesj May 10, 2011 4:59 AM (in response to fredfred)Check how this package is used in our tests:
Tests / example:
-
4. Re: Question regarding JBOSS AS and Java pojos
fredfred Jun 6, 2011 1:03 AM (in response to alesj)The code URL first sent to me in this discussion thread
is for the application Server Itself.
In order to bind a POJO to JBOSS AS,
Do I simply annotate the class declaration with JNDI()?
Could I please kindly to shown an example with this
sort of annotation (how it is done per class,
How the annotation is applied, the correct import statement,
and the jar file that it resides in ?)
-
5. Re: Question regarding JBOSS AS and Java pojos
fredfred Jun 21, 2011 1:51 AM (in response to fredfred)In order to bind a POJO to JBOSS AS,
Do I simply annotate the class declaration with @JNDI()?
Could I please kindly to shown an example with this
sort of annotation (how it is done per class,
How the annotation is applied, the correct import statement,
and the jar file that it resides in ?)
or should I just include
rt.jar
javaee.jar
and use
@LocalBean()
@EJB()
[Does one need to alter configuration for these jars, and if so how?]
-
6. Re: Question regarding JBOSS AS and Java pojos
fredfred Jul 1, 2011 12:38 AM (in response to fredfred)Hello, anyone know the answers here?
-
7. Re: Question regarding JBOSS AS and Java pojos
fredfred Jul 13, 2011 9:40 PM (in response to fredfred)Perhaps anyone?