Archive for the ‘Java’ Category

How to deploy a specific .ear or .war file in Glassfish Payara 4 server on different environments

Share

GlassFish is a flexible, lightweight, and production-ready open-source application server built for the Java EE platform. We will see in the following how to deploy a specific .ear or .war file in Glassfish Payara 4 on different environments. There are two methods to do this: 1. Deployment by staging: install free software WinSCP and Putty […]

Share


Liferay 6.2 – Save FTP files into Media Library

Share

Hello. In this article I will show you how to connect to a FTP server, get the files found there and save them into the Media Library of a Liferay Portal.

Share
Tags:          

Liferay 6.2 – Create Liferay Role from Hook

Share

Hello! In this tutorial I will show you how to create the following: Liferay Hook (using Liferay Hook Configuration) A custom Liferay Role using the Hook How to add permissions to the Liferay Role programmatically  

Share
Tags:           

Introduction to the Eclipse Modeling Framework (EMF)

Share

This eclipse project is a modelling framework which also provides application building tools. In short, it offers you the tools to create your data model and then generate code based on it.

Share


Android product flavors (part 2)

Share

Hey there ! Welcome to the second part of the Android product flavors tutorial. In the first part we learned how to setup our project to use product flavors, and how to add custom icons and resources to the flavors. The second part will cover using custom layouts and adding custom code to the product […]

Share


Exit from an Android application

Share

Normally, Android applications do not need an “Exit” button because they have a different lifecycle than, let’s say, a Windows application. To exit an application in Android, the user needs to press the home button and that’s it, but the application is not really closed, it’s sent to the background (the user can no longer […]

Share
Tags:  

Showing keyboard automatically in Android dialogs

Share

Having the Android soft-input keyboard pop-up when a Dialog window is shown is not so straight forward as one would think. After exploring different solutions found on the web (with no success) I managed to create a solution of my own. This article is mainly a tutorial that will help you achieve the above task.

Share
Tags:  

Installing PyGraphviz on Windows

Share

Django Extensions provides a bunch of management commands for the Django Framework. One of the most handy is the graph_models command. This command creates a visual representation of the Django models existing in the database.

Share
Tags:     

Liferay Portlet Development

Share

Liferay is a very popular open source social network script that has been programmed in Java and as a result has become a favourite amongst cost conscious Enterprises who are looking to deploy intranet and collaboration solutions.

Share
Tags:    

Builder pattern

Share

Consider using a builder pattern when faced with classes that have constructors that take a large number of parameters.

Share
Tags: