Using ODBC-JDBC with java.sql.*

Filed Under (Software Development) by admin on 06-11-2008

Tagged Under :

Open Database Connectivity (ODBC) is a standard or open Application Programming Interface (API), helpful in accessing a database. You can access files in a number of different databases, such as MS Access, dBase, DB2, MS Excel, and Text by using ODBC statements in a program. ODBC also allows programs to use SQL requests that can access databases without enabling to know the proprietary interfaces to the databases and handles the SQL request and it can convert the same into a request that the individual database system can understand.

Java Database Connectivity (JDBC) is a Java API that consists of a set of classes and interfaces written in Java for connecting programs written in Java to the data in Relational Databases. JDBC provides a standard API for tool or database developers enabling to write database applications using a pure Java API. It can also establish a connection with a database, sends SQL statements, and processes the results. It also allows SQL-based database access for EJB persistence.

How to Bind to an ADO.NET Data Source

Filed Under (Software Development) by admin on 03-11-2008

Specific features like accessibility, security, localization, and performance optimization (binding) of the Windows Presentation Foundation (WPF) are best addressed by ADO.NET.

The elements can be bound from various data sources, including ADO.NET, in the form of common language runtime (CLR) and XML.

Creating a Binding
Binding an ADO.NET data follows the following steps;

  1. Specifying the Binding Source
  2. Specifying the Path to the Value
  3. Binding and BindingExpression

Specifying the binding source is done by setting the DataContext property on the DockPanel element, which then inherits the DataContext value from the DockPanel, its parent element.  After specifying a suitable path to the values, a BindingExpression is established. BindingExpression, is the underlying object that helps the maintaining the connection between the ADO.NET data source and the target.

A binding to an ADO.NET contains all the information that can be shared across several binding expressions. Each binding usually has four components, such as binding target, target property, binding source, and a path to the source value to use.

ADO. NET: An Introduction

Filed Under (Software Development) by admin on 03-11-2008

Data accession is of crucial importance in application development. ADO. NET constitutes a set of computer software components that assists developers to access data and data services. They come as the base class libraries of Microsoft. NET Framework, and help programmers to access and make changes in the data available with relational database systems.

ADO. NET can also be used to access data for non-relational sources.

Benefits of Using of ADO. NET:

Unlike the popular belief that ADO.NET is a derivative of ActiveX Data Objects (ADO) technology, it comprises an array of added features. The extensive change makes is more of an entirely new product.

Comprising two primary subsections, viz., Data Provider and DataSets, ADO. NET offers robust XML support features. It also scores high in the subject of control of data access and behavior and is found to provide well-defined, factored components with predictable behavior, performance and semantics.

How To Build An Ajax Loader

Filed Under (Software Development) by admin on 17-10-2008

Tagged Under :

The introduction of Ajax loaders has contributed significantly in the interactive web applications and rich Internet applications arena. Ajax Web developing techniques help you a lot when you need to update the content of your website with an effective reduction in the bandwidth usage and load time. The connection to the server can be minimized with the help of Ajax loaders as they request for the scripts and style sheets only once. The response of this application process is really fast and it matters the least even if there is no significant change in the server side.

The communication between the server and the client can be now uninterrupted with the help of Ajax loaders. The communication process is disturbed when the XMLHttpRequest is not recognized. It efficiently wraps such problems and make the communication process smooth. Building an Ajax loader is not an herculean task. If you have experience in Ajax and javascript, you can easily customize the code to build it and complete the loading process. Such scripts can be easily available with an online search. These codes can easily handle XML and HTTP files.

Once you get the online codes, the majority of your task is solved. Before going to the second phase of your endeavor, make sure that the header of the code is specified to the browser you are using. There are some codes which do not need additional headers for loading process as they are self sufficient. Thereupon, you can place the code in the body of your HTML file. By making it, you are empowering your website to recognize that something is going to be loaded as the part of its web page. it is really easy to customize and build the Ajax loader if you follow the previous steps carefully. And, the results are really miraculous. You will now have lesser bandwidth usage and the load time is also decreased significantly.

C# Development: Advanced Level Programming

Filed Under (Software Development) by admin on 30-09-2008

Summary: The C# development has become inevitable for the programmers when it comes to devising ultra useful applications.

The C# programming language, or better known as C-sharp, is an ultra modern and object-oriented language. It equips the programmer to devise solutions using the Microsoft .NET platform and that too in an effective manner. Under this framework, the C# development enables C# components to transform into XML Web services.

It is also used for writing games using Mono and OpenGL. No doubt that it is quite a popular choice of dexterous programmers. This particular language is certainly an additive to the productivity of application developer. It is all due to the ease of use offered by it and its functionality to eliminate programming errors. This surely means that unnecessary development costs are not likely to hinder the developer’s path.

In addition, working over C# development imparts more flexibility to the programmers familiar with C and C++. In this way, they can be more productive and stay clear of ambiguities encountered in the development stage. Looking more into the business aspect, it can be understood that C# ensures better structure to business process.

Moreover, developing in this language is useful to keep the process requirement and actual software implementation in tune with each other. Another interesting part of C# development is the simplification of programming that allows for typed, extensible metadata, which can be applied to any object.

Thus, it becomes less taxing for a project architect to define domain-specific attributes and further apply them to any adequate language element-classes, interfaces, etc. The developers are adopting C# development for creating a synergy between metadata and codes. This is all because of the freedom of use and precise command over implementation, the professionals get.

MVC Architecture

Filed Under (Software Development, Web Development) by admin on 20-09-2008

Model-View-Controller architecture, in short known as MCV, is an architectural as well as a design pattern that finds its application in software engineering. MVC architecture is an effective pattern, which isolates the business logic from the users interface (UI) considerations to form an easy application that either enables modifying the visual appearance of the application or the inherent business logic, without affecting of the scope of each other.

MVC architecture integrates two aspects; namely the view and the controller. The view corresponds to the items in the checkbox and the text, generally the elements of the user interface, while the controller is responsible for managing every details of the users’ action, such as keystrokes and movement of the mouse, which involves communication to the user.

As as architectural pattern, MVC is often used in web applications, where the view is an actual HTML page, and the controller is a code used to gather dynamic data and generate the content within the HTML itself. The whole model is then represented by the actual content, stored normally in XLM nodes or in a database and the business rules, which transforms the content of the webpage based on the response of the users’ action.

One can find various frameworks that support MVC architecture pattern. Java Swing, a Graphics User Interface (GUI) framework, Java Enterprise Edition (Java EE), and Xforms are such selected frameworks. The application of MVC architecture can be largely found in diverse platforms, such as .NET, ABAP Objects, Informix 4GL, Perl, PHP, Python, Ruby, Smarttalk, and XML.

Video