Posts

Showing posts from January, 2017

RESTful API Example using JAVA and AngularJS $http

In this tutorial, we will learn to use Angular  $http  service to invoke RESTful APIs (HTTP GET, PUT, POST, DELETE) operations. Additionally, we will use the responses from RESTFul APIs to refresh the screen data used in this example. >>  Click here to view detail step with Demo example >>   Another demo example with source code

What Is JavaFX?

Introduction JavaFX is a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms. JavaFX Applications Written as a Java API, JavaFX application code can reference APIs from any Java library. For example, JavaFX applications can use Java API libraries to access native system capabilities and connect to server-based middleware applications. The look and feel of JavaFX applications can be customized. Cascading Style Sheets (CSS) separate appearance and style from implementation so that developers can concentrate on coding. Graphic designers can easily customize the appearance and style of the application through the CSS. If you have a web design background, or if you would like to separate the user interface (UI) and the back-end logic, then you can develop the presentation aspects of the UI in the FXML scripting language and use Java code for the applica

Top 4 Popular Java Development Frameworks

[1] Play It’s a powerful and lightweight open source web development framework, loved by thousands of developers all over the world for its scalability, speed and performance. It uses the Java and Scala programming languages and if you have knowledge in Scala, it should not take more than an hour to get used to with this framework. The user interface of Play is simple and intuitive, thus it does not take time to understand the basic features. One of the key features of Play is that you don’t need to compile your codes, just deploy and restart. While developing an app, you can easily see the new changes by simply hitting the refresh button. This feature saves a lot of time during web development. It has just one config file and rest of the configuration is done automatically. Play also comes with testing tools that let developers test their application within the framework. However, Play is not flawless. It has some weaknesses and one of them is version incompatibility. For examp

Here is a solution for Skype group chats are not showing in ubuntu 14.04 and skype 4.3.0.37

Skype group chats will not work on the current version of Skype (It is a  known bug  reported on their forums for Linux users &  other places ). You can voice talk, but typing something or having actual access to the chat will not work. I have encountered the same problem and I found the solution in Skype forum: To solve this   issue, type below command on any chat window: /msnp24 after that hit enter and logout once and login again now you will able to show all your group chats.

How to create exe of java application using launch4j and inno setup compiler

A small quick demonstration to show how you can make setup.exe file from your java .jar application by bundling jre(java run time environment) along your application and making a setup.exe executable file. using launch4j and inno setup compiler ,your application need not download jre from internet since it is already bundled into one full package. >>   You can download launch4j from here >>   You can download innoset up from here >>   View video for step by step guide

Multi-threaded Client/Server Chat Applications in java

A chat application consists of a chat server and a chat client. The server accepts connections from the clients and delivers all messages from each client to other clients. This is a tool to communicate with other people over Internet in real time. The client is implemented using two threads - one thread to interact with the server and the other with the standard input. Two threads are needed because a client must communicate with the server and, simultaneously, it must be ready to read messages from the standard input to be sent to the server. The server is implemented using threads also. It uses a separate thread for each connection. It spawns a new client thread every time a new connection from a client is accepted. This simplifies a lot the design of the server. Multi-threading, however, creates synchronization issues. We will present two implementations of the chat server. An implementation that focus on multi-threading without considering the synchronization issues will

How to Print JTable in java ?

The  JTable  class provides support for printing tables. The  JTable  printing API includes methods that allow you to implement both basic and advanced printing tasks.  For common printing tasks, when you need to simply print a table, use the  print  method directly. The  print method has several forms with various argument sets. This method prepares your table, gets a corresponding  Printable  object, and sends it to a printer. >>  Click here for detail steps and demo example