Java

[java][feat1]
How to implement a practical example of Hibernate Search Faceting How to implement a practical example of Hibernate Search Faceting Reviewed by Edward Legaspi on Sunday, October 15, 2017 Rating: 5

How to sort your List in Java using Collator

Edward Legaspi Saturday, October 14, 2017
I often forget this format so I'm blogging it here: Collator descriptionSort = Collator.getInstance(); descriptionSort.setStrength(Col...Read More
How to sort your List in Java using Collator How to sort your List in Java using Collator Reviewed by Edward Legaspi on Saturday, October 14, 2017 Rating: 5

Display a byte[] image from a REST web service

Edward Legaspi Saturday, October 07, 2017
This tutorial will not delve into angular nor will we discuss what a directive is. We will not try to explain what a rest web service is. In...Read More
Display a byte[] image from a REST web service Display a byte[] image from a REST web service Reviewed by Edward Legaspi on Saturday, October 07, 2017 Rating: 5
How to secure an Angular app using AuthGuard with Keycloak How to secure an Angular app using AuthGuard with Keycloak Reviewed by Edward Legaspi on Sunday, October 01, 2017 Rating: 5

How to download a file in SOAP API

Edward Legaspi Saturday, September 23, 2017
First we define the interface like this: @WebMethod ActionStatus downloadFile(@WebParam(name = "file") String file); Implement...Read More
How to download a file in SOAP API How to download a file in SOAP API Reviewed by Edward Legaspi on Saturday, September 23, 2017 Rating: 5

How to download a file using REST api

Edward Legaspi Saturday, September 23, 2017
Normally I create an interface when defining a REST api, this is useful when testing using Arquillian. To define a download file api we must...Read More
How to download a file using REST api How to download a file using REST api Reviewed by Edward Legaspi on Saturday, September 23, 2017 Rating: 5

How to upload a file in REST API

Edward Legaspi Saturday, September 23, 2017
This is how I define the method: @POST @Path("/upload") @Consumes(MediaType.MULTIPART_FORM_DATA) ActionStatus uploadFile(@Multi...Read More
How to upload a file in REST API How to upload a file in REST API Reviewed by Edward Legaspi on Saturday, September 23, 2017 Rating: 5

How to zipped a file or directory in java

Edward Legaspi Saturday, September 23, 2017
There are times when we have to zipped a file or directory recursively in Java. This is how we do it: public static void zipFile(File file...Read More
How to zipped a file or directory in java How to zipped a file or directory in java Reviewed by Edward Legaspi on Saturday, September 23, 2017 Rating: 5
How to access HttpServletRequest and HttpServletResponse in both REST and SOAP service How to access HttpServletRequest and HttpServletResponse in both REST and SOAP service Reviewed by Edward Legaspi on Saturday, September 23, 2017 Rating: 5

Keycloak overlay installation failed

Edward Legaspi Sunday, August 27, 2017
While playing with keycloak I have encountered several related problems: Keycloak 3.2.1 downloadable with samples is not working running...Read More
Keycloak overlay installation failed Keycloak overlay installation failed Reviewed by Edward Legaspi on Sunday, August 27, 2017 Rating: 5
Powered by Blogger.