Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active October 8, 2015 06:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save AdamBien/e301cf90e592a2c97e90 to your computer and use it in GitHub Desktop.
19thAirhacsQ&A
@dsurendran
Copy link

How to implement Authentication in JEE applications. I am starting an new application with JSF, EJB, JPA. JEE has some thing similar to spring security? or I need to use Apache Shiro. (I have user details in database)
Thank you.

@tegbird
Copy link

tegbird commented Oct 2, 2015

What would be the behavior for method overloading in JAX-RS resource, I want to use same path for posting single object or collection. To take it step further I want to execute collection creation Asynchronously by adding @suspended for example
@post
public void createNew(Collection transactions, @suspended AsyncResponse asyncResponse)

@post
public Transaction createNew(Transaction transaction)

@hvoyer
Copy link

hvoyer commented Oct 3, 2015

Payara Micro Question:
What are my options for adding JDBC drivers and configuring resources in Payara micro ?
Is there a way to keep theses configuration persisted ?
Regards

@dwamara
Copy link

dwamara commented Oct 4, 2015

A customer of mine wanted to be able to inject properties (from ResourceBundles) directly into the code without having to go through the loading of the bundles in the code that needed them, any advice or sample code on this one?

@viktorcitaku
Copy link

  1. What are JavaBeans, Enterprise JavaBeans, ManagedBeans and BackingBeans ?
  2. Does @Inject work in EAR if we want to inject something from JAR to WAR ?
  3. Can we use JavaEE 7 (lib/specification) into a JavaFX application ?

@haisi
Copy link

haisi commented Oct 6, 2015

Could you give an example of how to extend a JavaFX-view with afterburner.fx in the "-View.java"-file instead of FXML and accessing the components from the presenter?
Can I mix FXML and the View-class in afterburner.fx (e.g. create a pane in FXML and adding elements to it by Code in the "-View"-class?

@essigt
Copy link

essigt commented Oct 6, 2015

What are good ways to inject the configuration into a dockerimage. So you can use the same war/dockerimage in different steps of staging( testing, production,…) or with different configurations for different customers.

@martijnburger
Copy link

How would you annotate a JPA @OneToMany relationship with lazy loading for JAXB

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