Java

[java][feat1]

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
Hibernate with infinispan tutorial for beginners Hibernate with infinispan tutorial for beginners Reviewed by Edward Legaspi on Thursday, May 04, 2017 Rating: 5
How to integrate querydsl in your javaee7 project How to integrate querydsl in your javaee7 project Reviewed by Edward Legaspi on Sunday, April 16, 2017 Rating: 5
How to setup Arquillian testing with Wildfly How to setup Arquillian testing with Wildfly Reviewed by Edward Legaspi on Sunday, April 16, 2017 Rating: 5

How to signin to keycloak using google

Edward Legaspi Sunday, April 09, 2017
There are 3 set of steps that we must follow in order to come up with a web project that will allow us to login using google's identity ...Read More
How to signin to keycloak using google How to signin to keycloak using google Reviewed by Edward Legaspi on Sunday, April 09, 2017 Rating: 5
Powered by Blogger.