Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created February 3, 2016 04:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/ad9e7cdc110c634489ca to your computer and use it in GitHub Desktop.
Save AdamBien/ad9e7cdc110c634489ca to your computer and use it in GitHub Desktop.
24thAirhacksQ&A.md
@acll19
Copy link

acll19 commented Mar 7, 2016

Hi Adam,
Can I inject an EJB into a JAX-RS Interceptor and Filter? If so, how can I achieve this?
Thanks in advance,
Armando

@gbourant
Copy link

gbourant commented Mar 7, 2016

Hey Adam,
I'm using payara , i try to make a SOAP Call(What a shame...) and i'm getting the following error

Severe: SAAJ0009: Message send failed
Severe: com.sun.xml.messaging.saaj.SOAPExceptionImpl: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:164)

I read few solutions but they didn't work.How to solve this ?

Thanks!

EDIT : I used this and it worked but i don't want to use this in production , which is the proper way to fix it?

@steinsag
Copy link

steinsag commented Mar 7, 2016

Hi Adam,

JEE7 has a lot of features supporting container-based security, but there isn't much if you want to manage security directly in your application. Even such simple things as HTTP BASIC Auth must be implemented from scratch. Why is that? Am I missing something?

@SeriousSem
Copy link

Hello Adam,
would be glad to here your anwsers and your opinion of following architectural questions:

  1. Component based UI (JSF, tapestry etc) vs thymeleaf, plain html, js libraries. How to decide which one front-end building strategy to use in the new project?
  2. How do you structure uploaded files in your projects? Dedicated File management systems, simple folder structure, storing blob in db?
  3. Cache frameworks like ignite provide you a posibility to use both ram and dedicated databases to store cached objects in distributed systems. What are pros and cons of holding cached objects in the heap or in key-value database?
  4. Have you ever used NoSQL databases in your projects? What would be an example of “oh, in that project we will defenetly use NoSQL database”.
  5. User real-time notifications. If you need to notify user about something in real-time, what would you stick with: redis + ajax (pull), rabbitmq(cowboy) + websockets (push), dedicated java server with atmsophere framework or something else?
  6. I know you don’t work with spring, but could you tell smth about spring vs java ee stacks? When you are starting a new project, how to decide go with plain java ee stack or with spring?

Thanks in advance!

@moussah
Copy link

moussah commented Mar 7, 2016

Hi Adam;
I would like to know how to handle session expiration in jsf application.

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