The first early draft[1] is now available! Please send comments to jsr-299-comments(AT)jcp.org. We really /do/ pay attention to community feedback, so if you take the time, it won't be wasted!
(The JCP site is currently experiencing technical difficulties, so we're making the spec available for download here, temporarily.)
I would like to give a huge thanks to everyone on the expert group who helped get us this far. I know it's inelegant to single out individuals, but since it is rare to see people (especially individual JCP members) recognized for their contributions to spec groups, I'm going to do it anyway. Extra special thanks to:
- Bob Lee
- Linda DeMichiel
- Jacob Hookom
- Adam Winer
- Michael Youngstrom
- Richard Kennard
- Conny Lundgren
- Roger Kitain
- Chris Maki
Let us know what you think!
Tags: Web Beans
Created: 19. Oct 2007, 12:11 CET (Gavin King)
Last Modified: 19. Oct 2007, 13:00 CET (Gavin King)
Looks very promising, but I realise that there is a fundamental idea of using annotations in a way that is different from Seam there. Honestly, I couldn't grasp it after the first read (maybe because it is too simple after all these years), maybe there is info on this topic somewhere?
Yes, Seam followed JSF in using string-based identifiers for injection. Web Beans follows Guice in this respect, and uses typesafe identifiers.
Nice. Is there already any project to implement this JSR that you know of?
I have made some initial babysteps on the RI / TCK, but we've got a long way to go before anything usable comes out of that :-)
I will really like to have the basic Annotations as java code. I want to visualize the usage and readability in my code when using them. Can you provide them on some form?
The API is not settled down yet either, is it?
By the way, I tried to mimic this annotation stuff in eclipse and it was really tiresome to define @RetentionType and @Target by hand for each annotation. Maybe other IDEs let you do it in an easier way but this really irritates when you do it every two minutes which is what is necessary to do when you work with Web Beans. I guess there is no way to fix this from the Web Bean standard side so it is up to the IDE teams to improve annotation support, or maybe something can be changed in Java annotations themselves..
This is an early draft. There have already been refinements made in the two weeks since I submitted this draft to the JCP. I expect that there will be many future new features and refinements before we release a public draft.
The default for @RetentionType is completely wrong, in my view, but this is done at the language level and we can't do much to fix it.
Now, if you think it is important, we /could/ drop the requirement that annotations be defined as runtime retention, and expect the Web Beans container to read the annotations directly from the disk. This might make it a bit harder to implement Web Beans, but is certainly possible using Javassist.
I think it is important to keep the @Target stuff there, to help the IDE and compiler figure out what annotations can go where.
It would be reasonable for the corresponding Web Bean annotation like @BindingType to imply both the appropriate @RetentionType and @Target's. Otherwise it looks like data duplication. Not sure if we are hitting a Java limitation here, maybe it's possible to invent something?
Sorry, no, this stuff is hardwired into the compiler and Java language spec.
I dislike the configuration of the web-beans.xml configuration files that are distributed everywhere such as war, ejb, ear, lib etc....It is nice to have one configuration file place to put it into the specific directory. such as WEBBEAN-INF/web-beans.xml
1) Can the event scope be nested transactions (as undo redo stack) of a single conversation scope? As an undo operation is performed on the browser, can the event scope rollback be called from the undo stack? The rollback can be implemented programmatically by the developers or if the JPA supports nested transactions in future, it could be delegated to JPA.
2) Will WebBeans have first class support for remoting? Or would it be more tilted towards JSF for presentation?
Hi;
I am developing a initial implementation of this EDR but I am tackled on exceptions. I did not fully understand clean semantics of the exceptions that Web Beans container throws on initiliazition or runtime. Will it be documented in the next revision?
Also I have created some interfaces extending from Container, Context etc... to get working implementation. Will its definitions and methods be changed in the next revisions much?
In the mean time, I am playing with my initial implementation without EJB's, that is great !!! I enjoyed it, it is simple and fully configurable; It enables us with easily changed implementation class using annotations simply.
Congrulations;
Welcome to buy Arcteryx jackets from Arcteryx outlet.2012 Brand New Arcteryx sale.If you love Arcteryx Jacket,here is the right and the best place for you.As you can find the latest Mens Arcteryx and Womens Arcteryx with reasonable price.The Arc teryx jackets are perfect for many outdoor activities.Choose your own Arcteryx clothing now.
Now, you can have the bags michael by michael kors in the Michael kors online store. All people want to have their own bags kors michael kors. So do you. If you are fond of the kors bags, come to the michael kors online store. The kors, also called michael kors michael kors, sale hot here. The kors by michael kors will tell you who is michael kors. You can also lead a colourful life with the michael kors michael. Wish you a happy life with the michael kors. http://www.michaelkorsbybags.com/
As Jordan http://www.jordanoutletonline.com/Brand schools gear up for rivalry matchups starting Wednesday, they will have a distinct advantage on their feet: the Air Jordan XX8. http://www.authenticshoescheap.net/ You can buy customized jewelry http://www.tiffanyjewellerysale2013.co.uk/very effortlessly, nevertheless there is one thing considerably far more particular when you obtain designer jewelry.http://www.uktiffanyjewellery1837.co.uk/ This is similar to customized jewelry http://www.tiffanyuk4saless.co.uk/in the way that it’s special but it is targeted at a specialized niche market place.
My Link OBD2 Software My Link Vag Kabel My Link Auto OBDII Codeleser