Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active November 5, 2018 16:40
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/4a3ad4c69c1ccfd0d3b3e02a21adfefb to your computer and use it in GitHub Desktop.
Save AdamBien/4a3ad4c69c1ccfd0d3b3e02a21adfefb to your computer and use it in GitHub Desktop.

Ask questions and see you at November, 5th, 6.PM. CET: http://www.ustream.tv/channel/adambien

Also checkout recent episode:

555h airhacks.tv

Please keep the questions Java EE-stic. Means: as short and as concise as only possible.

@robert-niestroj
Copy link

Regarding Apache POI in JavaEE. In https://www.youtube.com/watch?v=DzaDhAx12gc&feature=youtu.be&t=2292 you say that you make a docker base image, put POI there and all microservices rely on this base image.
Do you mean by that, that you put POI jar's in for example WildFly in a jboss module (\modules\system\layers\base\org\apache\poi), reference this module in jboss-deployment-structre.xml and in pom.xml use POI as <scope>provided</scope>?

@orlovskyjavaprofi
Copy link

orlovskyjavaprofi commented Oct 31, 2018

Hi Adam, i would like to know you opinion about the IBM-RedHat merging in regards to Java EE ecosystem, i mean we have now Jakarta EE and the specs of "new" framework are not set It is even more interesting , because some of my clients expressed a concern about further support of legacy Java EE based projects, i know that first version of Jakarta EE would be backwards compatible with Java EE8 , but what will happen after that? I saw the discussion on google mailing list and majority of people wish to drop some old technology (EJB, JMS) in favor of new solutions, so what is your take on this problem? My current best advise to the clients basically will be just to get active and raise some concerns in Jakarta EE Specification Process in eclipse community.

@omega09
Copy link

omega09 commented Nov 5, 2018

Hi Adam,

  1. If an exception/error occurs in a JAX-RS method on the server, the stack trace is returned to the client. The client shouldn't see these details. How to prevent it?

  2. I am using an H2 in-memory database during development for my JPA entities (Wildfly default I think). How can I view the tables during runtime? Anything that integrates with Eclipse?

@UlrichCech
Copy link

Hi Adam,

I have a short question for the BCE-structuring with multiple implementations of a given "domain-aspect". Given the case, there is a payment-feature in an application. And the payment can be performed via different payment-providers.
So, basically, I would have:
/business/payment/ [b/c/e] but inside, I will have PaymentProviderA, PaymentProviderB and so on. All payment-provider should behave the same, so there is an "AbstractPaymentController", so that the concrete PaymentControllers only need to implement there specific API-implementation of the specific PaymentProvider.

Would it be correct to structure the packages as following, or do you have a better idea:
.../business/payment/boundary/PaymentResource.class
.../business/payment/control/AbstractPaymentController.class

.../business/payment/PaymentProviderA/control/PPAController.class
.../business/payment/PaymentProviderB/control/PPBController.class

Thank you very much in advance from Hamburg
Ulrich

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