Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/63e5e0b23a12ff37709b to your computer and use it in GitHub Desktop.
Save AdamBien/63e5e0b23a12ff37709b to your computer and use it in GitHub Desktop.
11thAirhacksQ&A
@dwamara
Copy link

dwamara commented Jan 25, 2015

I am trying to get be in time with the previous airhacks so I am watched all those I missed and I watched the other day one where you were advising someone to by JRebel if necessary while you were against it at the MUC architecture workshop I was at last year. I am quite a bit confused. So what are your definitive views on the matter as one of my customers only swears by it.

@haisi
Copy link

haisi commented Jan 29, 2015

How to handle security between my own micro services? Pass around a token between my own app servers with each request? Store and get token from something like redis or hazelcast?
Btw. the links to airhacks.tv and airhacksnews.com don't work.

@antoniovl
Copy link

Can you please setup a little demo about how to run and debug (from NetBeans) a JavaEE project on Docker?

@nnareshkumar
Copy link

Hi Adam,

I follow your java ee technologies related topics/videos. I have gone through 1 to 10th airhack Q&A which occurs on every first Monday of the month.

Few questions which I have when I have gone through JEE tutorial those are the following:

  1. In most of the Application Servers apart from the Server jvm which is available there will be nodes of jvm which are mainly for batch processing. By using these nodes of jvm and using threads in them will solve the purpose of batching. Today I think most of the enterprise based applications do have Batching supported, for example startNodeManager in case of Weblogic Application Server and also these are available in other Application Servers as well. What are the benefits provided by new Batch processing in Java EE 7?

  2. In case of WebSockets, How scale-able will the application be if it supports WebSocket at least in case of Glassfish 4? The way I understood is if there are 10,000 users connected to the server and opens the WebSocket request for conversation then there will be 10,000 HTTP upgrades to ws or wss requests are to be maintained. Will there be any issues if all the 10,000 users accessing the same information like in case of retrieving the latest Stock price of a commodity? Will it maintain any client specific conversations among two clients like chat application between two clients, in case of 10.000 users if every client is interacting with other but not all it may end with 5000 their specific information that has to be stored at the Server for all 10,000 users.

  3. In case of Asynchronous Servlet, If a Client request spawning into a thread and waiting for an update from the Server then When there is an update from the Server will there be an another thread which will process the response for that Client. Is it like Server push the updates when available and those are sent to the registered Clients irrelevant of thread?

  4. Second level Cache for JPA, Do it says to maintain good amount of RAM memory at the Application Server? Or will it be good if the memory is maintained in separate jvm on the same application server. Hardly remote invocation is better than database fetch.

  5. I have observed you use @Inject in most of your videos while injecting an EJB. Is there any difference in @Inject and @ejb?

  6. Waiting for your new book on Java EE 7 like "Real World Java EE Patterns, Rethinking Best practices reloaded" :)

Thanks,
N. Naresh Kumar.
India, Hyderabad.

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