Tag Archives: Maven

Read / Recognize, Manipulate and Generate Barcodes using Aspose.Barcode Java API Maven Plugin inside IntelliJ IDEA


Read / Recognize, Manipulate and Generate Barcodes using Aspose.Barcode Java API Maven Plugin inside IntelliJ IDEA
// Blogs – Aspose.com

New Plugin – Aspose.Barcode Java for IntelliJ IDEA (Maven) v.1.0.0.0 released!

KKGLVVO Read / Recognize, Manipulate and Generate Barcodes using Aspose.Barcode Java API Maven Plugin inside IntelliJ IDEAAspose releases New IntelliJ IDEA Plugin for its robust barcodes generation and recognition API — Aspose.Barcode for Java.

The plugin aims to facilitate the use of Aspose.Barcode for Java API in Maven based java projects in IntelliJ IDEA. By using the plugin developer can easily create java projects for reading (recognition), generating and manipulating barcodes.

Plugin lets developers to create Aspose.Barcode for Java API based Maven projects and also download various useful Example Source Codes in Java that shows how to do generation, recognition and manipulation of barcodes using the library – Barcode API.

Aspose.Barcode for Java supports most established barcode standards and barcode specifications. It has the ability to export to multiple image formats including: BMP, EMF, GIF, JPEG, PNG, TIFF and WMF within the IntelliJ IDEA.

Hibernate Criteria Example


via Hibernate Criteria Example | Examples Java Code Geeks.

Hibernate Criteria is a very good interface offered by Hibernate that helps you write queries with comples search criteteria an keep your code readable and elegant.

So these are the tools we are going to use on a Windows 7 platform:

  • JDK 1.7
  • Maven 3.0.5
  • Hibernate 3.6.3.Final
  • MySQL JDBC driver 5.1.9
  • Eclipse 4.2 Juno

The basis of this tutorials is going to be this Eclipse project: Hibernate1to1XMLExample,zip. And it’s based in Hibernate One-to-One Relationship Example (XML Mapping and Annotation). All the code snippets displayed here reffer to App.java file of the aforementioned project. It’s also a good idea to take a look at Hibernate Query Language Example.

Hibernate Logging Configuration – SLF4J + Log4j and Logback


via Hibernate Logging Configuration – SLF4J + Log4j and Logback | Examples Java Code Geeks.

In this example we are going to see how to configure Logging in Hibernate.SLF4J (Simple Logging Facade for Java) is a very nice logging framwork that Hibernate uses, in order to output your logs using your favorite logging tool ( log4j, JCL, JDK logging, logback) to your preferd location. We are going to use SLF4J along with log4j and Logback.

So these are the tools we are going to use on a Windows 7 platform:

  • JDK 1.7
  • Maven 3.0.5
  • Hibernate 4.2.3.Final
  • MySQL JDBC driver 5.1.9
  • Eclipse 4.3 Kepler

The basis of this tutorials is going to be this Eclipse project: HibernateMySQLExample.zip

Hazelcast Distributed Execution with Spring


via Hazelcast Distributed Execution with Spring | Online Technology Vision.

The ExecutorService feature had come with Java 5 and is under java.util.concurrent package. It extends the Executor interface and provides a thread pool functionality to execute asynchronous short tasks. Java Executor Service Types is suggested to look over basic ExecutorService implementation.

Also ThreadPoolExecutor is a very useful implementation of ExecutorService ınterface. It extendsAbstractExecutorService providing default implementations of ExecutorService execution methods. It provides improved performance when executing large numbers of asynchronous tasks and maintains basic statistics, such as the number of completed tasks. How to develop and monitor Thread Pool Services by using Spring is also suggested to investigate how to develop and monitor Thread Pool Services.

So far, we have just talked Undistributed Executor Service implementation. Let us also investigate Distributed Executor Service.

Hazelcast Distributed Executor Service feature is a distributed implementation of java.util.concurrent.ExecutorService. It allows to execute business logic in cluster. There are four alternative ways to realize it :

1) The logic can be executed on a specific cluster member which is chosen.
2) The logic can be executed on the member owning the key which is chosen.
3) The logic can be executed on the member Hazelcast will pick.
4) The logic can be executed on all or subset of the cluster members.

This article shows how to develop Distributed Executor Service via Hazelcast and Spring.

Used Technologies :

JDK 1.7.0_09
Spring 3.1.3
Hazelcast 2.4
Maven 3.0.4

Building a Microservices-based REST API with RestExpress, Java EE, and MongoDB: Part 1


Develop a well-architected and well-documented REST API, built on a tightly-integrated collection of Java EE-based microservices.

https://programmaticponderings.wordpress.com/2015/05/18/building-a-microservices-based-rest-api-with-restexpress-java-and-mongodb-part-1/

Building a Microservices-based REST API with RestExpress, Java EE, and MongoDB: Part 2


Develop a well-architected and well-documented REST API, built on a tightly integrated collection of Java EE-based microservices. Note: All code available on GitHub. For the version of code that matches the details in this blog post, checkout the master branch, v1.0.0 tag (after running git clone …, run a ‘git checkout tags/v1.0.0’ command). Previous Post In […]

https://programmaticponderings.wordpress.com/2015/05/31/building-a-microservices-based-rest-api-with-restexpress-java-ee-and-mongodb-part-2/

Building a Microservices-based REST API with RestExpress, Java EE, and MongoDB: Part 3


Develop a well-architected and well-documented REST API, built on a tightly integrated collection of Java EE-based microservices.

https://programmaticponderings.wordpress.com/2015/06/05/building-a-microservices-based-rest-api-with-restexpress-java-ee-and-mongodb-part-3/