Ask questions and see you at April, 6th, 6.PM. CET: http://www.ustream.tv/channel/adambien
Also checkout recent episode:
Please keep the questions Java EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions.
Hi Adam, I hope you are well? Please what is your take on using synchronized in a Singleton Bean with BEAN managed concurrency type assuming that i want a method to perform some asynchronous requests? do i opt in for Locks?
Secondly, I get confused a lot with system tests and integration test, recently i was in a project where arquillian was being used to build a war file, with it's dependencies, a container managed application server was started and system tests were being ran as Integration test. I get confused all over again. Please could you give a very simple, layman's definition of integration test and maybe an example of what an integration test might look like without using arquillian. Oh? and in the case of using arquillian to build a war file and start an application server, does that pass as a system test or an integration test? are integration tests a variant of system tests or vice versa?
How do you handle shared entity classes between two microservices handled by different teams? Say i was making a request to another microservice to return an entity class? Does every microservice keep a shared copy of the entity class or do you just use JsonObjects and build the entity class from the JsonObjects?
i am new to bce structuring and i have a question about that. say i have a blog application i'm building. do i have a component post with a bce structure and another component comment with another bce structure, mind you, the comment entity has a manyToOne relationship with a post entity. with this am i still minimizing coupling and maximizing cohesion? what package would a web filter reside in? Control? or do you just drop it in the application layer since it filters all the requests?
I've been looking at adding a datasource url to a docker image. i pretty much understand that but then how does it work behind the scene, supposing i have a localdb running. does docker connect the datasource url with my local db. will request to fetch some data from the database fail if the local db is not running. sorry if this sounds dumb, i am just exploring javaEE with cloud and all it's wonderful features. thanks