-
1. Re: EJB3 meta model and JDK 1.4
bill.burke May 20, 2004 3:58 PM (in response to bill.burke)Enums will also be converted to JDk 1.4 using a common, well known pattern for defining Enums.
-
2. Re: EJB3 meta model and JDK 1.4
adrian.brock May 21, 2004 5:45 AM (in response to bill.burke)In JDK 1.4, annotations added to the class file will only work if you have access
to the classloading mechanism.
e.g. running an EJB container in an applet would not give you access to the
classloading so you would need xml. -
3. Re: EJB3 meta model and JDK 1.4
bill.burke May 21, 2004 7:12 AM (in response to bill.burke)Not true at all. You just need the classloader and then do a getResource on that classloader to load it into javassist. Take a look at the code.
-
4. Re: EJB3 meta model and JDK 1.4
adrian.brock May 21, 2004 7:29 AM (in response to bill.burke)> You just need the classloader
Getting hold of a classloader is a privileged operation. If anybody could do it, java
would be very insecure. -
5. Re: EJB3 meta model and JDK 1.4
bill.burke May 21, 2004 7:33 AM (in response to bill.burke)Then don't use the freakin shtuff in an applet. J2EE 1.5 is written towards JDK 1.5. This is an option to JDK 1.4 developers and to allow me to use JDK 1.4 and IDEA to code this shit up.
-
6. 3835726
juha May 21, 2004 7:46 AM (in response to bill.burke)How relevant is this? Eventually the managed environments will be in JDK 1.5, where the full annotation is available.
In the meanwhile it is an issue for JDK 1.4 based, but I can't think of an example that is using an EJB container in such a managed environment today...? Do we have such cases? If it becomes more common in the future, those solutions should be based on JDK 1.5. -
7. Re: EJB3 meta model and JDK 1.4
adrian.brock May 21, 2004 8:06 AM (in response to bill.burke)Applets are the acid test of our POJO middleware.
If it will run in an applet (with unsigned jars preferably) it will run anywhere. -
8. Re: EJB3 meta model and JDK 1.4
juha May 21, 2004 8:18 AM (in response to bill.burke)"adrian@jboss.org" wrote:
Applets are the acid test of our POJO middleware.
True. But is EJB3 part of that picture? -
9. Re: EJB3 meta model and JDK 1.4
bill.burke May 21, 2004 8:20 AM (in response to bill.burke)EJB3 can/should be able to run inside an applet, but only a JDK 1.5 based applet.