Subscribe
Tutorial search

Java Mod Tutorials


Sort by:
How to create Wizards using osv.memory in OpenErp 6.1
How to create Wizards using osv.memory in OpenErp 6.1
To create a wizard for a module, we need to create a wizard folder; this folder will be imported in our main __init__.py of the module. The wizard folder will contain another __init__.py which will import all the wizard class files. For more visit the link mentioned.
Difficulty:
Running Tomcat Behind Apache with mod_rewrite and mod_proxy
Running Tomcat Behind Apache with mod_rewrite and mod_proxy
Why do we need to put Tomcat behind an Apache server? Such a solution is widely used to improve the performance of high-load environments. Being a fast, secure and flexible HTTP server and having a variety of modules, Apache easily provides some additional functionality for various purposes.
Difficulty:
Four solid reasons why you should lock folders & files
Four solid reasons why you should lock folders & files
There’s little doubt that the digital age is the age of convenience and flexibility. However, we have also paid greatly for this modern marvel by compromising our privacy.
Difficulty:
An implementation of Factory Method pattern in Java
An implementation of Factory Method pattern in Java
Factory Method pattern is a widely used design pattern that applications written in all modern programming languages such as Java or C# base their structure and implementation.In brief Factory Method Pattern is a class that creates objects.In general with Factory Method we have an interface or an abstract class which has common state and functionality and that delegates its instantiation to its subclasses.
Difficulty:
Access Modes in JPA2
Access Modes in JPA2
In JPA the state of an entity can be accessed either by FIELD or PROPERTY.Those two access modes define the way that JPA will persist and initialize the entity with data from the database and in this tutorial we will see what access by FIELD and PROPERTY are and what @Access annotation is.
Difficulty:
How to reverse number in Java with Example
How to reverse number in Java with Example
Simple Java program which teaches how to reverse Java program by using arithmetic operator in Java. In order to reverse digit of a number you need to use divide and modulas operator.
Difficulty:
JavaFX 2: Create a new Dialog on the same Stage
JavaFX 2: Create a new Dialog on the same Stage
In this tutorial I am going to modify a little bit previous tutorial about How to create a new Dialog with Stage. Instead of opening a new dialog on the new Stage, here we'll open a dialog on the same Stage. That might be useful, in some cases.
Difficulty:
Darmowe bramka sms
Darmowe bramka sms
SMS na telefon od pc narzędzie wysyła sms do kilku sieci komórkowych bez konieczności dodatkowego wsparcia modem.
Difficulty:
How to choose between ArrayList and Vector in java
How to choose between ArrayList and Vector in java
This java tutorial highlight difference between Vector and ArrayList and enable us to take inform decision on where to use vector and where to use arraylist.First and foremost difference is Vector is synchronized and ArrayList is not, what it means is that all the method which structurally modifies Vector e.g. add () or remove () are synchronized which makes it thread-safe and allows it to be used safely in a multi-threaded environment. On the other hand ArrayList methods are not synchronized thus not suitable for use in multi-threaded environment.
Difficulty:
Spring JPA, One to Many Relationships, Hibernate and DAO's tutorial
Spring JPA, One to Many Relationships, Hibernate and DAO's tutorial
This tutorial shows how to use Spring, JPA and Hibernate to model and unit test a bi-directional oneToMany relationship. Full source code is included.
Difficulty:
How to use arraylist in java with example
How to use arraylist in java with example
ArrayList has been modified in Java5 (Tiger) to support Generics which makes Java ArrayList even more powerful because of enhanced type-safety. Before Java5 since there was no generics no type checking at compile time which means there is chance of storing different type of element in an ArrayList which is meant for something and ultimately results in ClassCastException during runtime. with generics you can create Java ArrayList which accepts only type of object specified during creation time and results in compilation error if someone tries to insert any other object into ArrayList in Java; for example if you create an ArrayList of String object you can not store Integer on it because add() method of ArrayList will check Type before adding object into ArrayList in Java opposite to add() method of Java4 which accepts any object.
Difficulty:
Final Variables and Method Parameters
Final Variables and Method Parameters
"Final Variables and Method Parameters A parameter to a function can be declared with the keyword final. This indicates that the parameter cannot be modified in the function."
Difficulty:
Encryption
Encryption
Ive been exposed to programming most of my life. My first computer was a Commodore 16 with no hard drive and a whopping 16 kilobytes of RAMboy how things have changed.
Difficulty:
Java:Tutorial - Access Modifiers
Java:Tutorial - Access Modifiers
Access control modifiers express a programming entities ability to be recognized and available to other programming entities.
Difficulty:
Swing Thread Safety - How to properly modify components.
Swing Thread Safety - How to properly modify components.
Swing is not thread safe, so to avoid the possibility of deadlocks, all component realization and modification should be done in the event dispatch Thread (EDT) by invoking SwingUtilities.invokeLater(). It is likely, however, that your applications will work just fine 99% of the time without this. invokeLater adds your action to the EDT.
Difficulty:
Search Term(s) (1): mod