Java

Easy Netbeans Shortcuts

It’s been several days that I am relying solely on NetBeans for my PHP and Java coding. So far, it’s beyond my wildest expectations – I am totally satisfied with that great IDE. Today, I have searched for shortcut that would allow me to duplicate a given line, and (fortunately!) came by a great post(…)

Servlet Life Cycle

The life cycle of a servlet is controlled by the container in which the servlet has been deployed. When a request is mapped to a servlet, the container performs the following steps. If an instance of the servlet does not exist, the Web container Loads the servlet class. Creates an instance of the servlet class.(…)

Object Creation

Take another look at how we’ve been creating our circle object: Circle c = new Circle(); What are those parentheses doing there? They make it look like we’re calling a function! In fact, that is exactly what we’re doing. Every class in Java has at least one constructor method, which has the same name as the class.(…)

What Is a Servlet?

A servlet is a Java programming language class used to extend the capabilities of servers that host applications accessed via a request-response programming model. Although servlets can respond to any type of request, they are commonly used to extend the applications hosted by Web servers. For such applications, Java Servlet technology defines HTTP-specific servlet classes. The javax.servlet and javax.servlet.http packages provide(…)

Classes and Objects in Java

Java is an object-oriented language. “Object-oriented” is a term that has become so commonly used as to have practically no concrete meaning. This chapter explains just what “object-oriented” means for Java. It covers: Classes and objects in Java Creating objects Garbage collection to free up unused objects The difference between class (or static) variables and instance variables,(…)

Switch to MySQL GUI database administration tool – MySQL Workbench

If you do not have a GUI admin tool for MySQL, so get it immediately as you will be needing it to use with Netbeans. Download link  for MySQL GUI Tools Downloads You need to install Visual C++ Redistributable Package to us MySQL GUI tool    

Older versions of Java with Security Threats

Java is well documented. Java was “responsible for between one-third and one-half of all [recent] exploits.” Over the past six month Java was found to be the most common exploit vector in all the cases Three factors contribute to Java’s obnoxious “use with caution” status: First, Java is cross-platform. Almost every computer, regardless of OS,(…)

NetBeans Platform 6.9: Working with Window System

The requirements for window management have become quite complex and can only be met by means of an external docking framework, otherwise all these various concerns would need to be coded (and debugged, tested, and maintained) by hand. The NetBeans Platform provides all of these features via its docking framework, known as the NetBeans Window(…)

NetBeans Platform 6.9: Working with Action

In this article we focus on “Global” Actions, that is, those that should always be enabled. These types of Actions are not very different from standard Swing Actions. For example, you might want to create “New Task” and “Edit Task” Actions that can be invoked from the menubar and toolbar of the TaskManager. Learn How to(…)

XDebug Debugger – Netbeans Tutorial

You need to configure your PHP stack to use XDebug. The process differs if you are using XAMPP 1.7.1, which bundles PHP 5.2.6, or XAMPP 1.7.2, which bundles PHP 5.3. Many users have experienced difficulties in getting XDebug to work on their systems.. XDebug on XAMPP 1.7.1 (PHP 5.2) You must download XDebug, place the .dll file(…)