05Oct2015

Java Development: Guava – beyond standard JDK

Every modern software development stack has one or more well-known common libraries which is not a part of the language core. On the other hand, such general purpose package extends standard set of methods and data structures to professional level of software development. E.g., STL for C++ world. Apache Commons [https://commons.apache.org] is one of the most useful set of general libraries in Java Development. A lot of other packages and frameworks are based on them. In case of new project, Iflexion developers, first of all, to look at Guava [https://code.google.com/p/guava-libraries] — a modern professional implementation of common methods.

Guava libraries

Guava is done by Google, freely distributed and supported by Internet giant. They even claim Guava usage in their own projects as a standard. There are 3 main programming languages are used in Google: Java, C++ and Python. Guava is based on Java 6. That makes it useful in legacy projects implemented in terms of Java 6 and needed to support this version. E.g., strings join may be done in Java 8 as String.join(“, “, strings) or by Guava Joiner.on(“, “).join(strings). Guava modules are created with design patterns in mind. There are builders, factory methods, adapters, etc. Guava available via maven/gradle. E.g., for gradle:

dependencies {

compile ‘com.google.guava:guava:18.0′

}

Read more
22Sep2015

Application Development: Asynchronous JavaScript code by Promises

Both front-end JavaScript code and runned on server side node.js applications are designed not just a long-run set of instructions, but rather a set of functions, which are runned by the engine as handlers of appropriate events. E.g., user clicks the button, server received request from the client, page loaded, server started started. Any JavaScript engine is just very sophisticated implementation of Event Loop pattern. There is a lot of stuff written about V8 engine, which node.js based on. Such architecture has asynchronous nature by design. That’s why it’s very important to deal well with asynchronous Application Development for any professional JavaScript developer.

Callbacks and other approaches

The simplest native way to deal with asynchronous code is to use callbacks. It may be ok in case of small application or use case. On the other hand, in real life Application Development, Iflexion company have complicated huge solutions splitted into many modules and layers. To use pure callbacks in this situation is antipattern.

Read more
09Mar2015

Java Development: Spark as a lightweight web framework in Java world

There are several powerful technological stacks available to create any kind of web application from a set of microservices with REST API to huge enterprise solutions. They a based on appropriate programming language as a platform, like Java, C#.NET, Python, PHP, etc. All those web development platforms are completely separated. They are rather linked and even much more than you ever imagine. Trends are popular in one platform found their mirror in another and vice versa. That’s mostly because of enthusiastic activity of multi-platforms software developers. E.g., a lot of Java Development packages and approaches are converted into their C#.NET clones almost one-to-one with adding a .NET suffix.

Micro-frameworks

Another example of multi-platform web development approach is micro frameworks. These are very light MVC frameworks that provides basic web application functionality out of the box. On the other hand, they need minimal code and development efforts as a whole to implement and launch ready to use application. PHP has Slim, Limonade, Lumen, Flight, Silex. Sinatra is the most popular Ruby micro-framework. Flask is for Python stack. For Java Development there is a Spark [http://sparkjava.com/].

Read more
18Oct2014

Java Development: Spring Boot for fast and easy start-up

10 years ago, Spring framework became a trend in Enterprise Java Development without huge and overweight classic JEE (it was called J2EE) technology based on EJB. We called Spring as JEE without EJB. Its amazing IoC container and DI schema have been doing our life much more easy. Configuration via annotations made the whole process even more fun, because it allows us to avoid describing all our beans and relations in XML. Nowadays, modern popular frameworks like Ruby on Rails or Django provides even more fast tools and development practices. On the other hand, Java Development world is bit more conservative. We had no easy and fast way to start new project. Instead, we had to spend some time to configure Spring environment. Spring Boot [http://projects.spring.io/spring-boot] is a solution for this problem, applicable in case of start up, agile approaches or even pet projects.

Configuration over dependencies

Rail uses its power command line tools to start new application, generate new element of the project and various other actions. But Spring Boot is not an automatic code generation tool. It is rather a plug for Java Development build system. It supports both Maven and Gradle. Main feature of of Spring Boot is

Read more
22May2014

Java 8: finally in business

The brand new Java 8 is finally on the market! That’s what a lot of java web programmers waited for. For its’ release Oracle offered so called LDK8 also known as Java Development Kit. The java developers from Iflexion feel the descent shift new Java represents with its completely new approach.

Java 8 – what’s it all about?

YoavLandman, the primary Java developer, is really happy and proud of company’s new creation. “Now you can code in totally new way. Be ready for greater options!”

Due to the new methods used to create the perspective functional paradigm in order to replace an old imperative paradigm new Java 8 will offer comfortable solutions for developers. All bugs appear to be not only easily to track, but also handy to fix. Any problem can now be decomposed in any functional value. A lot of tools can now be used for the purpose to manage binaries.

Read more
31Aug2013

The latest Java development trends in 2013

Trying to fix out what’s new in Java is much like trying to follow the cat – it just goes anywhere it wants, digging into whatever comes on its way. Same goes with Java that appears to be fully integrated in all kinds of mobile, cloud and other related spaces.

What we’re trying to do is to figure out the most visible paths Java is going to take in 2013.

Oracle

Oracle appeared to be really linked with Java in most possible ways. This means application developers soon will have to cope not only with Java’s bugs, but with Oracle bad features as well. That’s what you shall get ready for right now. Also the credibility of Java has been severely damaged through its lack of security features we all could see in Java 7. This all led to the real bunch of users switching off Java.

Read more
19Feb2013

6 best programming trends you must not miss

Be aware of the best Java trends offered on the IT market

If you’re the programmer, no matter of your qualification and specialties of your business you must keep an eye on the newest programming sweets offered on the market. In the world of Java things are changing rapidly, so you shall always keep a close eye on what’s happening there. There is so much news concerning Java development that one day you way feel yourself the first grade pupil surrounded with things you have no idea about. That is why our primary goal is to enlighten the latest trends of Java.

Trend #1: JVM is no more for Java

People realize that VM can now be used with any language they feel comfortable with. Some of them create their own languages; still the best option is to concentrate on syntactic bells and structural whistles.

Read more