Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active August 29, 2015 14:08
Show Gist options
  • Save AdamBien/b1b150dde839daba1bcb to your computer and use it in GitHub Desktop.
Save AdamBien/b1b150dde839daba1bcb to your computer and use it in GitHub Desktop.
9thAirhacksQ&A

Ask questions and see you soon: http://www.ustream.tv/channel/adambien

  1. How to transform entities with OneToMany relationships into json for JAX-RS (lazyinitialization exception is thrown if relationship is not fetched)? Let's say I have methods getAllUsers() and getAllUsersWithDetails(). I was able to do it with jackson and its jackson-datatype-hibernate dependency. Is there any other, better way?

  2. I have seen your videos on ECB pattern, but I am not sure, what goes into Control and what into Boundary. You said, that you do it with refactoring, when Boundary gets to big ... Could you please provide any more pointers?

  3. I have a feeling, I have to deploy/redeploy my application all the time during development. Do you have any tips to speed up development as much as possible and avoid deploying code? Without JRebel

  4. @AdamBien what would be your take on how to most elegantly deal with resilience and service discovery for JavaEE7 #microservices ? (tweet by @niko_nava)

  5. OData vs. RAW Json (email question from Louw)

  6. what logging framework do you normally use? Seems slf4j is the only library i can't get rid of in my WARs... (tweet @MichelSchudel)

@MougLee
Copy link

MougLee commented Nov 7, 2014

  1. How to transform entities with OneToMany relationships into json for JAX-RS (lazyinitialization exception is thrown if relationship is not fetched)? Let's say I have methods getAllUsers() and getAllUsersWithDetails(). I was able to do it with jackson and its jackson-datatype-hibernate dependency. Is there any other, better way?
  2. I have seen your videos on ECB pattern, but I am not sure, what goes into Control and what into Boundary. You said, that you do it with refactoring, when Boundary gets to big ... Could you please provide any more pointers?
  3. I have a feeling, I have to deploy/redeploy my application all the time during development. Do you have any tips to speed up development as much as possible and avoid deploying code? Without JRebel 😄

@mliebl
Copy link

mliebl commented Nov 18, 2014

What's in your opinion the preferred way to handle service-versioning for REST services?

@dsurendran
Copy link

We are running a JEE application with thousands of EJBs(EAR with 3 different projects refered) which takes around 10 minutes for server start up. Mainly time spent on creating and loading EJBs at startup. How can I bring down the startup time of Jboss server at least in development environment.

@0x001D
Copy link

0x001D commented Nov 23, 2014

What is the most efficient way to communicate between two μ-Services especially 1. when they are deployed as different WARs and 2. on different Docker images but on the same Docker "Host"/VM/machine.

@cristhiank
Copy link

What do you do for simple reporting in enterprise projects ?? Use a BI solution and integrate it ? any alternative ?

@tegbird
Copy link

tegbird commented Nov 25, 2014

What are the possible solutions for API Gateway in JavaEE enviroments. Specifically when there is different JavaEE app per business line exposing RestAPIS.

@tegbird
Copy link

tegbird commented Nov 25, 2014

What are ur views on API management tools provided by vendors as centralized solution to APIs. Is it going the same way as ESBs did to SOA. Nobody understood them, overated and underused.

@szlachet
Copy link

Hi Adam,
I would like to ask you what is more preferable in your opinion: serializing enums to json using enum names in order to send via rest or using enum values instead of enum names for example in case as below:
RED("red"), BLUE("blue");
Thanks in advance.
Sebastian

@github0x1
Copy link

Hi Adam,
sometimes you are talking about your personal server you build every 3 years. Can you provide some details (list of components) about your current configuration?

Copy link

ghost commented Nov 29, 2014

Hi Adam,

Most of my JavaFX applications have composite views and so the sub-views have to communicate with each other. I hate nesting controllers using @FXML injection. I think it creates a strong coupling between the views. I use afterburner.fx in most of my projects. What do you think is the best way to communicate across sub-views within a composite view? Thanks.

@haisi
Copy link

haisi commented Dec 1, 2014

When and why put apache in front of my application server?
How to handle security with micro services? Pass around a token between my own app servers?

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