Adam Bien's Weblog

Groovy vs. JS, Swing 2 JavaFX, Micro/Macro Services, Sessions, TX and Scalability Questions for 11th Airhacks

Questions for the 11th edition at 11th February at 6.PM. CET. Watch live at:

  1. Microservices and Java EE (questions from the field)
  2. Define "Lightweight" or more "Lightweight" in the age of Ultra Lightweight
  3. Introduction of Project Porcupine
  4. I need to manage sessions to maintain information about logged-in users (I need to recognize which user is making the request and I don’t like do that in the presentation tier,because it could be a Javascript code or similar). Leonardo V.
  5. How to migrate and test convoluted Swing projects to Java FX? (Sebastian B.)
  6. I use Jersey library for REST implementation, Do you think is better use the one included in TomEE (here says this one is apache CFX ? Leonardo V.
  7. @AdamBien I’ve been wondering about using OSGi for my startup. Could You give my Your opinion about OSGi ? @yauritux
  8. Time derived properties in Java EE applications, see @AdamBien any best practice approach by the book? @cruftex
  9. 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.dwamara
  10. 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? haisi
  11. I have the problems that with wildfly 8.2 it seems the TSR is not propagated to @asynchronous calls..(…) Peter Sellers
  12. Can you please setup a little demo about how to run and debug (from NetBeans) a JavaEE project on Docker? antoniovl
  13. 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? nnareshkumar
  14. Isn’t Groovy a better alternative for many of the use-cases you sketched ? For example storing groovy files in Database or whatever to make some aspects more dynamic. My question is not whether Javascript or Groovy is the better language but if you could name use cases where Javascript fits better than Groovy. I can see the point if Javascript is part of the skillset and Java/Groovy is not (for the developers who write the scripts). But otherwise ? Avy Sharell
  15. I want to learn below things:, JAX-RS along with JSON and JAX-B, JAX-RS and Spring Please share articles/videos for same. dadamuni_1986
  16. 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. nnareshkumar
  17. 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? nnareshkumar
  18. 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.
  19. I have observed you use @Inject in most of your videos while injecting an EJB. Is there any difference in @Inject and @EJB? nnareshkumar
  20. Waiting for your new book on Java EE 7 like “Real World Java EE Patterns, Rethinking Best practices reloaded” :) nnareshkumar

See also the archives and subscribe to the

See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting

NEW workshop: HTML 5 and JavaScript Essentials, Three days in April 2017: from Java EE 7 Architectures over Microservices to Performance, Troubleshooting and Monitoring
On demand workshops: Java EE 7: Bootstrap, Effective, Testing and Microservices available for streaming.


A book about rethinking Java EE Patterns


According to 17: will injecting EJB with @Inject make automatically @Dependent?

Posted by on February 02, 2015 at 10:30 AM CET #

Hello Adam

I'm curious about your feelings on the wisdom of microservices vs a more monolithic approach to application development.

In one of your past presentations, I believe I remember you saying that being monolithic is your friend, vs nowadays there's a lot of discussion around microservices.

Can the ideas of "monolithic is your friend" and microservices still peacefully co-exist in your mind? Thank you.

John Hogan

Posted by John on February 25, 2015 at 03:46 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
Online Workshops
...the last 150 posts
...the last 10 comments