Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Last active February 1, 2016 17:01
Show Gist options
  • 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
@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