Ask questions and see you at 29th at 6.PM. CET: http://www.ustream.tv/channel/adambien Also see archives: airhacks.tv
- Java EE 8 News
Ask questions and see you at 29th at 6.PM. CET: http://www.ustream.tv/channel/adambien Also see archives: airhacks.tv
Do you think is secure to store anonymous user data, for example id of the user basket in secure cookie:
NewCookie cookie = new NewCookie("basketId", id, "/", "host", "", 99999, true, true);
Thanks,
Marcin
Hello Adam,
What reporting library would you recommend for a Javaee app in which a lot of PDF is being generated? I currently use JasperReport which breaks glassfish whenever the report gets bulky.
Many thanks and keep up the good work :)
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>@AdamBien why does haproxy need a Java/CentOS Base image? I'd hardly call this minimalistic!
— Christoph Kutzinski (@kutzi) August 26, 2016
CDI Events in across multiple JARs. http://www.adam-bien.com/roller/abien/entry/java_ee_6_observer_with#comment-1471878349077
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>TIL: I can use JUnit based system tests in JMeter to do basic smoke test on performance issues in Java EE based systems. Thanks @AdamBien
— Hans Kruse (@hanskruse) August 14, 2016
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>Wondering what @AdamBien thinks about @myfear's Nine 'Neins' against Java EE for microservices? https://t.co/ENvPlqr0TS
— Hans Kruse (@hanskruse) August 10, 2016
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>@AdamBien @hanskruse no wonder, I'm sure #Cobol advocates find their happy clients just as fine
— Kristof Jozsa (@kjozsa) August 12, 2016
What is the current state of ESB, and will it or something like it become part of JEE? It seems that the popularity of SOA and microservices has caused a void area in the architectures of a lot of companies. Companies end up with very large collections of services with all pointing at the same things. The proliferation of services (possibly excessive) seems to create lots of redundant configuration, and I believe it makes it a lot more difficult for developers to comprehend different parts of systems. Maybe a more standardized ESB would help ...?
Hi Adam,
Many thanks for this great work. Please are connection pools more reliable than CMP/ Application Server Data-sources in enterprise applications, Please what is your best practice advise as regards this?
Hi Adam,
Please are there times, where running / exposing a web service on the JVM are more robust / better than on an application Server say wildfly or Payara ... ?
Suppose a JEE6 entity has a setter and getter, that converts/deconverts the parameter before setting the member. So in the db the converted value is stored, and service methods work with the original value. The conversion depends on a JNDI setting. So the getter/setter are calling static methods to retrieve that setting from JNDI.
It works, but junits on service methods with easymock are not looking nice. I'd prefer to inject a JNDI-register singleton in the entity, or use an interceptor (injected with the JNDI-register singleton) on the getter/setter for conversion, or use an entitylistener (injected with the JNDI-register singleton), a produces to inject the entity, etcetera. Just to get rid of the static methods. I also dont want to code the conversion in my business methods.
Let's assume the conversion uses a JNDI number to xor the value. So the DBA only sees the xorred values.
What are your thoughts on this case?