NetBeans Platform Certified Training

Hello Dear Friends,
I joined the group called NetBeans User Group, Nagpur a couple months ago. Unfortunately I was unable to attend the Inaugural meeting of this group. then I joined this group so that I can learn something about NetBeans and Java. But as I read the mails on mailing list and other things related to NetBeans on netbeans.org I found this very interesting and I keep reading and gathering information about it. When we had our first skype chat meetup at that time also I was confused with the two things one is NetBeans IDE and other is NetBeans Platform. then Tushar Joshi who is founder of this group told us about the NetBeans Platform training and for that training we have to complete some badges which are maintained on our page (http://nugnagpur.wikispaces.com/) where each one of us have separate page on that wikispaces link. So because of those badges I got some information about NetBeans Platform and the training of the 2 days (27th and 28th November) is good. Where I learnt various things like how to create Java Swing Applications or in other words we can say Desktop Application. I learnt How to create Modules and plugins for the NetBeans.
There were 17 people who attended the training and Geertjan Wielenga was the speaker from Amsterdam who works for oracle.
Some of our friends from Togo and a person from canada also joined us and don’t ask me their names I still not know names of some people who attended the training with me.
On first day we learned many things such as to create our own modularity,central registry, dependency management, lookup, java extension mechanism and many more and created a application wordeditor in which we converted the given string to uppercase and lowercase.
On the second day of this training we discussed about the Node API , explorer views, visual management, Actions etc. and an application about the Student Registration Application..

At the end of the day all of us are the NetBeans Certified Associate and the main conclusion is that I understood it somewhat.. To become a NetBeans Certified Engineer we have to create an application or plugin that will be approved by NetBeans. The application to be approved by NetBeans it must be unique or must an update for the already created project or plugin.

Now I’ll start learning NetBeans so that I can get more from it and hoping to start the application on my own or with the help of all my friends on the NUGmailing list.

The special thanks to Geertjan Wielenga because he spent his weekend talking with a laptop (Computer) without seeing anyone of us and to Tushar Joshi who made all arrangements for all of us for this training.

Thank You to all other whose names are not mentioned above and hoping to attend many more training in the future…

The snap of attendees of training.

Advertisements

NetBeans Platform

Howdy friends,

The NetBeans Platform allows applications to be developed from a set of modular software components called modules. Understood nothing??

hmm anyways… lets begin with the NetBeans first.

so the NetBeans is the (IDE) for developing with Java, JavaScript, PHP, Python, Ruby, Groovy, C, C++, Scala and others.

and NetBeans is the framework for Java Desktop Applications.

The NetBeans Platform is a Swing-based framework on which you can base desktop applications. The Platform contains APIs that simplify the handling of windows, actions, files, and many other things typical in applications. In other words its the framework used to simplify the Java Desktop Applications.

Now NetBeans began as a project under the faculty of the Mathematics and Physics in 1996. Recently the NetBeans introduced the 6.9 version of its IDE. and its freely available.

The main benefit of the NetBeans Platform is its modular architecture. Secondary benefits are the NetBeans Platform’s reliance on the Swing UI toolkit. The feature of the NetBeans platform can be termed as a Module as I said in the first line of this post. We can write our own modules to provide an additional feature for editor. A NetBeans module is a group of Java Classes that provides the some feature. The platform does not add a lot of overhead to your application — but it can save a huge amount of time and work. It provides the reliable and flexible application architecture which saves a large amount of time. As its architecture is modular it helps us to create powerful and extensible application.

The features of the NetBeans platform are:

  • Modular Runtime Container
  • Loose Coupling and Selection Management
  • FileSystem
  • Window System
  • Data Management

and various other advantages such that it uses the swing which is the standard user interface toolkit, provides rich set of APIs,

The NetBeans IDE bundle contains the Java SE contains what is needed to start developing NetBeans plugins and NetBeans Platform based applications. As the platform helps user to reuse the applications common to the desktop applications. The other features are such as dialog boxes, menus and toolbars, window management, saving and loading data etc.

In short its the NetBeans platform allows us to Develop the Java Swing Desktop Applications easily and enable us to write modules for it.

Thats what I know about Platform…

 

C++

This new topic was asked by one of blog reader and friend of mine.

So starting with C++: It was developed by Bjarne Stroustrup in 1979 at Bell Labs as an upgrade to the C language and originally named C with Classes. It name was changed to C++ in 1983. Its the middle level language as it has the features of high level language and a low level language too. As we all agree to the point that the C++ (used the increment operator in C as its an enhancement of C) is the starting of the Object Oriented Programming Language. So object Orientation can be described as “The Software modelling and development disciplines that make it easy to construct complex systems from individual components”

The first computers were programmed in binary along with mechanical switches. Earlier programming languages were inadequate for developing complex computer programs. There was no facility to reuse the code in the linear programming languages the code was duplicated and used in programs wherever it was necessary. The solution to this was structured programming in which the program is broken in number of procedures which are known as functions and different tasks are performed.

Now shifting towards the Object oriented paradigm. This is built on the foundation of Structured programming and data abstraction. The main change is that the program is designed around the data being operated on rather than the operation. As an upgrade to C the language first adding classes, then virtual functions, operator overloading, multiple inheritance, templates, and exception handling.

The main concepts introduced in Object Oriented Programming:

  1. Class: A class is a construct that is used as a template to create objects of that class. In other words its the extension of the structures in C.
  2. Objects: These are the instances of the Classes created runtime
  3. Data Abstraction and Encapsulation:  Abstraction is the concept of structured programming and used in C++ too whereas encapsulation means the wrapping up of data into single unit.
  4. Inheritance: When the derived classes are created from the classes called as base classes then it is called as inheritance
  5. Virtual Function: The concept of virtual function is the same as a function, but it does not really exist although it appears in needed places in a program.
  6. Templates: This allows us to create a function template which can be adapted for more than one type or class with no need to retype the entire code again for another type.
  7. Polymorphism: It is the ability to use function or operator in different ways.

There are some other features such as dynamic binding , constructors, easy way to handle files are also there.

The Key advantages are :

  • we can extend the use of existing classes.
  • Helps to build secure code.
  • Message passing techniques to communicate between objects.
  • Multiple instances of object can coexist.
  • Software complexity can be easily managed.
  • iostream makes it faster than stdio

Thats it for this time will explain few more things(concepts) related to C++.

Till then Good Bye.. 🙂

Which level language C is?

Hello guys…

So C was developed by Dennis Ritchie in 1972 at AT&T Bell Laboratories and C is the most popular programming language for all time.

So lets get to the topic What is the level of C ? Is it Middle level or low level or High Level language?

There are various pros and cons related to this and other controversies too.

We can say that it is High level of language because we are using keywords such as if-else, for , while etc which are just as in our common language.

Secondly we can say that it is a low level language because there are pointers and memory addressing.

And finally there is something for Middle level too because it is largely used in system programming such as hardware configuration and interrupt handling. And it is the mixture of pascal (High level) language and assembly (Low Level) Language. So it can be called as middle level language.

Now when we assign or declare some array in C then the name of the array refers to the starting address of the array in memory ie. the address where the array begins in memory. The array elements are stored in contiguous memory locations. The length of array  is not remembered in the array itself. The indexing of array don’t start with 1 it starts with 0. The Multidimensional array is stored in contiguous memory locations ie they are stored row wise not column wise.

C don’t support the nesting of functions (at physical hardware level). In C the value is returned by function but it is ignored. It supports variable length argument list.The function name is converted to pointer ie. it can be thought of as an address ie the address to which control is transferred when that function is called .The return values of function can be used as l-values. For example float *fun(); we can write it as *fun()=5.0;

This allows us System programming as well as application programming so its a middle level language.This is the beauty of the C..!

Enjoy and have a Happy Programming.. 🙂