Quantcast
Channel: Java mon amour
Browsing all 1121 articles
Browse latest View live
↧

JAXRS client with Jersey

As usual we start from the excellent Baeldung https://www.baeldung.com/jersey-jax-rs-clientThe working solution is in https://github.com/vernetto/jerseyrest and the client is in the test directory...

View Article


Enabling Swagger in a Java EE application

This should be enough:0) add Maven dependencies:com.wordnik:swagger-jaxrs_2.10:1.3.11) with an Application, register the Swagger jaxrs resources:import java.util.Set;import...

View Article


Panache as a wrapper for Hibernate

https://quarkus.io/guides/hibernate-orm-panache-guidehttps://developers.redhat.com/courses/quarkus/effective-data-hibernate-and-panache-quarkus/The product seems very well conceived, it really...

View Article

JDK maven Nexus and HTTPS

If your Nexus repository uses certificates signed by your own Root CA, chances are that a JDK doesn't trust them.Then when you run mvn packageyou getsun.security.validator.ValidatorException: PKIX path...

View Article

Image may be NSFW.
Clik here to view.

Accelerate

https://www.kobo.com/us/en/ebook/accelerate-7This is an excellent book - not only about technology but mostly about culture, leadership, teamwork, innovation.I don't share the enthusiastic vision of...

View Article


GraalVM native image

download GraalVM CE and unzip it to /home/centos/graalvm-ce-19.0.0/export JAVA_HOME=/home/centos/graalvm-ce-19.0.0/export GRAALVM_HOME=/home/centos/graalvm-ce-19.0.0/cd...

View Article

good old friend JMeter

JMeter is one of those primitive animals that never goes extinct.Decent presentation:Excellent comparison with SoapUI https://octoperf.com/blog/2018/06/05/jmeter-vs-soapui/JMeter is good for a VERY...

View Article

CDI in IntelliJ Java Enterprise projects

I was following this https://www.jetbrains.com/help/idea/creating-and-running-your-first-java-ee-application.html tutorial to deploy a Primefaces application to Wildfly 16, but I kept getting an...

View Article


yarn react and materialui

open cmd with admin rights:choco install yarnclose this cmd and open a "normal" cmdyarn create react-app appcd appyarn add bootstrap@4.1.3 react-cookie@3.0.4 react-router-dom@4.3.1 reactstrap@6.5.0yarn...

View Article


Apache SSL and ciphersuites

Useful commands and linkshttps://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslciphersuiteopenssl ciphers -vhttp://www.openssl.org/docs/apps/ciphers.htmlhttpd -v httpd...

View Article

Jooq and QueryDSL as alternatives to JPQL, Panache,

HQL (and JPQL) both suck because they are not statically typed..."lack of type safety and absence of static query checking""concatenation of strings which is usually very unsafe ""Criteria Query API...

View Article

More interesting readings on quarkus and microprofiles

I reveive from my friend Rob:This will soon overhaul Spring Boot. Look how they fast grow with integrating all enterprise patterns on Quarkus. This community is the driver https://smallrye.io/Look at...

View Article

JAXRS all-in-one

All annotations are summarized here https://dzone.com/articles/introduction-to-restful-web-service-a-jax-rs-speci"Base URL for any web application is:http://:/Append tag from web.xml with Base URL that...

View Article


Codota!

I have just read/watched the Baeldung article on Codota https://www.baeldung.com/codotathis thing seems to have a big future... as IT developer, I am often confronted with a blank screen and a "and now...

View Article

branching models, trunk based development

the only good git presentations are VISUAL - unless you visualize what happens in terms of commits, there is NO WAY you can learn.here they explain very well the meaning of -no-ff (no fast forward)git...

View Article


Image may be NSFW.
Clik here to view.

viewing https handshakes in fiddler

https://textslashplain.com/2015/10/12/viewing-https-handshakes-in-fiddler/https://stackoverflow.com/questions/12323944/fiddler-httpmethod-get-put-post-delete-columnRight-click the column bar and select...

View Article

SSL renegotiation and resumption

in Fiddler, check for the renegotiation_info field in the CONNECT requestsmethodshttps://www.ssllabs.com/ssltest/Secure Renegotiation SupportedSecure Client-Initiated Renegotiation YesInsecure...

View Article


RHEL6 legacy services

just upgrade to RHEL7 please.... or RHEL8...https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-services_and_daemonschange keyboard to Swiss German:vi...

View Article

Jakarta EE microprofiles, some readings

https://openliberty.io/blog/2018/06/08/java-microservices-microprofile.htmlhttps://jakarta.ee/about/https://www.amazon.com/Hands-Cloud-Native-Microservices-Jakarta-microservices-ebook/dp/B07NDBQPLF/ref...

View Article

Image may be NSFW.
Clik here to view.

Cloud-Native Applications in Java

excellent book covering basically EVERYTHING about the Java Cloud ecosystem.

View Article
Browsing all 1121 articles
Browse latest View live