Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active February 1, 2016 17:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/c7f79f288782acd237ea to your computer and use it in GitHub Desktop.
Save AdamBien/c7f79f288782acd237ea to your computer and use it in GitHub Desktop.
23rdAirhacksQ&A.md
@hbekkouche
Copy link

Hi Adam!
Is it possible to make persistence unit parametrable in javaee and change it at runtime?

@psaraf
Copy link

psaraf commented Jan 15, 2016

Hey Adam,

There is lots of buzz about Microservices, I want to understand how we will manage those microservices post production and what are common issue can we can be solve by automation.

@masumcse1
Copy link

I have completed development a Enterprise application Using JAVAEE7 on wildfy 10 with 3 tier architecture . i am using
JSF,primefaces CDI EJB JPA Bean validation , SOAP-ws.
Currently we starting system testing (functionality ) test with 10 tester .
After finishing system test ,i have to deployment this application into product environment.

it is financial application , Branch less banking application : agent module, customer module, Account -loan/deposit, cash in/out related
critical transaction operation .

I have 500 different branch user . i can not define capacity planning for this application .
I have to run this application on Wildfly 10 community edition, i can not use enterprise version jboss eap for some limitation.
So, I have to setup wildfy in our office network that access from internet .

I have a confusion that is it possible to run wildfly8 or jboss7 in production environment .
some people says that any open source java application server is not recommend for production environment ,
only (commercial edition)jboss EAP for production . community server only for development .

Q1. is it correct or not ?
Q2 . is it possible to run jboss community edition into production environment ?
Q3 . what is the major complexity , when run community edition server into production environment without Jboss EAP ?

please give me some suggestion for this purpose .

@marcincembrzynski
Copy link

Hi Adam,
It would be nice to have Spring's @propertysource in next EJB / CDI release to inject property file into bean.

Question: How to inject properties file into EJB or CDI bean?

Thanks,
Marcin

@vonix2000
Copy link

Hi Adam,
I watched some of your sessions and I have a few related questions:

  1. Where should Java files like interfaces (for strategy pattern), model classes (no DTOs) be placed within the BCE pattern?
  2. If one team builds a whole application including JavaEE backend + pure HTML/CSS/JS frontend (no Java), which is always shipped together, would you recommend to put everything into one war or split backend and frontend into separate projects? What is the best way to tell the frontend the address of the JavaEE backend?
  3. Could you give a short example how to introduce security to JavaEE applications (JAX-RS)?

Thanks,
Simon

@moussah
Copy link

moussah commented Jan 27, 2016

Hi adam,
I am moussa from cameroon in Africa I watched many of your video session. l have tree request:

1- Base on your experience, what is the advantages and disavantages of saving image file inside a database.

2- In an eCommerce application is it important to save the image of the products inside the database or inside a folder on the server.

3 -Please could you provide us a pratical step by step tutorial on how to setting a production environment to deploy java ee application with apache web server(httpd (https://httpd.apache.org/docs/2.4/fr/programs/httpd.html)) in front of the application server(such as glassfish,wyfly or payara ) and with database(such as mysql database) on windows or linux environment( such as windows server, centos server or ubuntu server).

Please sorry for my english language writting.

Thank
Moussa

@geilsonfonte
Copy link

Hi Adam,

What's a good way to implement single sign-on with projects that only communicate through HTTP (aka microservices)? We currently have a login .war, and all other projects must depend on its API .jar and redirect to its page.

Thanks,
Geilson

@rac021
Copy link

rac021 commented Jan 30, 2016

Hi Adam,

My question is about Monolithic Frontend In Microservices architecture,
I wonder what's the best approach to compose or federate pages ( UI )
in Microservice Architectures. Are Portlets suitable in this case ?

Thank's

@ulrichcech
Copy link

Hi Adam,
I would like to know, what are your "live" experiences with "Architectural documentation". Do you write/produce something in your business-projects or is this topic left out by the companies?

Thanks,
Ulrich

@pflueras
Copy link

pflueras commented Feb 1, 2016

Hi Adam,

Which tool would you choose between maven3 and gradle for a JavaEE application.
The chosen tool has to support a continuous build and continuous integration system.
Next to the build process of artifacts we intend to drive unit tests, integration tests, system tests, functional tests - of course with additional tools.

Thanks a lot!
Petru

@bommelmuetz
Copy link

Hi Adam, some last-minute question (hopefully not too late for this evening) :-Þ:

Using JAX-RS sub resources example ,
it looks like new transactions aren't created automatically as it would be using e.g. @stateless on a
"normal" JAX-RS resource. Is there a way to circumwent this except creating transactions manually?

Thanks.

@bukajsytlos
Copy link

Hi Adam.
I would like to ask you what is the best strategy for REST API versioning (api/v1/.., api/v2/...).

  1. Create multiple @Application inside one war? Is that possible?
  2. Create multiple servlets, pointing to different packages and with different servlet mapping?
  3. Create standalone wars with shared libraries?

Thank you very much.

@moussah
Copy link

moussah commented Feb 1, 2016

Hi adam,
Is there a way to send a message to a particular user in a group chat using java websocket api.

@masumcse1
Copy link

How to measure concurrent user of system ?

We have development a mini banking system of using java ee. we have 150 branches per user . currently
we cannot calculated concurrent user for this system . what is the common best practice for finding concurrent user ?

@masumcse1
Copy link

what are common critical issues for enterprise system when run into production environment ?

we have development a JAVA EE7 application(mini banking solution.).
We use common architecture : JSF(presentation)+ CDI(service/dao)+ JPA + Wildfly 10
We have to go into production environment at April-2016. it this situation,
i want to know more about what are the common critical issue of Enterprise system(java ee) when run into live environment ?
give me some guideline for initial preparation

my idea is : critical issues

  1. Http session problem
  2. JVM production parameter , also gc
  3. thread pool, connection pool

@masumcse1
Copy link

ui problem : Our one of application use spring mvc+jqery .
we also use huge jquery and json for ui scripting (send/retrieve/validation).
this application 300 page /form.
we almost finish our development , we are doing testing and facing one problem :
lots of silly bugs(ui) from different silly point .
From my understanding reason of this kind bug is :
use different ui in different style like : validation pattern, grid , form , masking, different type js plugin.

         1. plain form(grid)/Tabbed form
         2. inline edit grid
         4. add to grid
         5. cyle based grid
         6. Search result grid / partial grid editing


          But our maximum page has same category functionality.
          How to organize our page /form minimum set of pattern 
          that perform easy maintenance in ui layer .

I have confusion about large scale financial application ui layout .
i have some idea but i am not clear here .
From my experience ,

this one of critical issue in enterprise application development .

how to use a common ui pattern for whole application ui ??
pls give me some suggestion how to minimize this problem
* this ui pattern provide UI designers and developers with a common way to think about the problem at hand and provide a baseline design that can be customized to your specific application needs*

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