Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active August 29, 2015 14:20
Show Gist options
  • Save AdamBien/ec6b53c1938a8b65a071 to your computer and use it in GitHub Desktop.
Save AdamBien/ec6b53c1938a8b65a071 to your computer and use it in GitHub Desktop.
15thAirhacks&A.md
@karschdn
Copy link

Hi Adam,
i have a question about handling to implementations of an interface and injecting the implementation to an interface-type injection point:

Normally, this could only be done if one implementation of the interface is in classpath, otherwise, CDI will throw an exception because it could not be choose the right impl. If you have 2 impls in classpath you coud use @alternatives annotation to handle it somehow.

Now my question: is there a different approach to tell CDI that a specific implementation should be used if 2 impls are in classpath without changing code (qualifiers, ...)? I have the problem that WebSphere 8.0.0.9 (OpenWebBeans) completly sucks with @alternatives annotations because of bugs (not in WLP).

regards
Karsten

@braghome
Copy link

Hi Adam, I have often seen to typing model objects in your screencasts which I always find it strange as I personally use @value

https://projectlombok.org

@oedemis
Copy link

oedemis commented May 29, 2015

Hi Adam, How can is simulate a JavaEE application deployed with docker on AWS with thousands of users to test scalability? Can you show a practical example

regards

@gilbertoca
Copy link

For someone who knows java, works with spring (spring-data + spring-security + JSF) and wants to study/learn/work with JEE but doesn't know where to start (lots of resources out there, but no one at his(me and others I think) level). Is your book appropriated? Isn't it outdated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment