Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

This comment has been minimized.

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.


This comment has been minimized.

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 and don't work.


This comment has been minimized.

Copy link

antoniovl commented Jan 29, 2015

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


This comment has been minimized.

Copy link

nnareshkumar commented Jan 31, 2015

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" :)

N. Naresh Kumar.
India, Hyderabad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.