0

Example with Source Code: A simple database-driven Java web application (CRUD) implementing JSP and Servlets

Posted by OD on Mar 28, 2010 in Java, Java EE, Programming Tutorials

You can study and implement the following examples to create a simple Java-based database-driven web application which makes use of JSP and Servlets applying a MVC (model-view-controller) principle.

Create the following files:

DatabaseConnection.java

package sample;
import java.sql.*;

public class DatabaseConnection {

    public static Connection getConnection() {
    Connection con = null;
    try {
        // change the following line to your jdbc driver
        Class.forName("com.borland.datastore.jdbc.DataStoreDriver");
        // change this to "your database url", "username", "password"
        con = DriverManager.getConnection("jdbc:borland:dslocal:C:\\a.jds","Sample","");
        System.out.println(con);
        }
        catch (Exception ex) {
        ex.printStackTrace();
        }
    return con;
    }
}

Read more…


Email This Post Email This Post


Tags: CRUD, database-driven, Java, JSP, Servlet, source code, Tutorials, Web Programming Tutorials

 
13

PL/SQL Best Practices with Steven Feuerstein

Posted by OD on Apr 1, 2010 in Oracle, Programming Tutorials, Tutorials, Video


Renowned Oracle PL/SQL expert, Steven Feuerstein, presents “PL/SQL Best Practices” — offering high-level principles to guide our work.


Email This Post Email This Post


Tags: best, Oracle, PL/SQL, Practices, SQL, Steven, Tutorial, Tutorials, Video

 
0

Asymmetric Cryptography in Java

Posted by OD on Apr 8, 2010 in Java, Programming Tutorials, Tutorials

Security plays a significant role in our day to day life. So far software applications are concerned, security of data is required for authentication and for several validations. Normally while developing the applications, we use the concept of cryptography for password encryption and decryption. Some applications require more security, so they go for high end security system like trusted security certificates. The security mainly focuses on the integrity of the data at the several ends.

Technicalities For data security Java Cryptography provides a suitable framework to implement several kinds of cryptography. However there are basically two types of cryptography. Once is Symmetric Cryptography and Asymmetric Cryptography. When both the ends communicate the secured data with a common key for encryption and decryption, it is called the Symmetric Cryptography. In this case a shared key is used by both the parties to encrypt and decrypt the data. However there is a problem relating to exchange of key for symmetric cryptography. To overcome this problem java provides another approach for the cryptography called Asymmetric Cryptography. In case of Asymmetric cryptography, there will be two keys unlike one key in case of symmetric cryptography. One key is called Private key and other is called Public key. These two keys are generated together and can be used for encryption and decryption. In this case the Public key is used by anyone who wishes to communicate securely with the owner of the Private key. The Private key is used by the main owner and the owner gives the Public key so that they can decrypt the data. In this article I will give you the example on Asymmetric cryptography. You can find more tutorials and concept on Sun’s JCE(Java Cryptography Extension). In my next article, I will provide you the example on Symmetric cryptography.

Complete Example

This example is only meant for learning and not for any specific use. You can take the piece of code to test in your system to learn the above concept.

The following class is used to create the Public key and Private key. This class contains generic methods to generate the Public and Private key. If you run the testharness class, you will find the two files called “Public.key” and “Private.key”. Please go through the java docs mentioned in the methods.

Read more…


Email This Post Email This Post


Tags: Advanced, Asymmetric, Cryptography, Development, Java, Programming, Tutorial, Tutorials

 
1

Using Objective-C, Foundation Framework


(April 6, 2009) Alan Cannistraro provides an overview of object oriented programming, the objective-C programming language, and common foundation classes. Stanford University: www.stanford.edu Stanford School of Engineering: soe.stanford.edu Stanford University Channel on YouTube


Email This Post Email This Post


Tags: Foundation, Framework, iPhone, iPhone Development, iPhone Programming, iPhone SDK, Objective-C Programming, ObjectiveC, Tutorial, Tutorials, Using, Video

 
0

Business Intelligence

Posted by OD on Apr 24, 2010 in Business Intelligence, Data Warehousing

Business IntelligenceBusiness Intelligence (BI) refers to various skills, technologies and practices that are used to support business decision making, therefore also called as decision support system.

According to the leading research firm, Gartner that open-source BI tools production deployments will grow five-fold through 2012. The research firm also added that the open-source BI tool deployment is growing solidly.

According to various analysts, an effective and integrated BI solution can improve business performance by having better decision making across the company. At present, various large houses like Microsoft, Oracle (Hyperion), IBM (Cognos), and SAP (Business Objects) offer BI solutions to achieve the success and better Return on Investments (ROI).

Why Business intelligence Solutions required?

Business Intelligence helps its users in various tasks like -

  1. To know your customers better
  2. To look and evaluate the competition in the market
  3. Help you to accommodate with your business partners better
  4. Process information regarding economic efficiency and ROI
  5. It also helps you in decision making for your internal operations.

business intelligence

Read more…


Email This Post Email This Post


Tags: business, Business Objects, Data, data warehousing, decision, decision-support systems, Help, intelligence, would

 
0

Effectiveness of ASP.NET

Posted by OD on Jul 5, 2010 in ASP, ASP.NET, Microsoft, VB.NET

Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft’s first server-side script engine for dynamically-generated web pages. Initially released as an add-on to Internet Information Services (IIS) via the Windows NT 4. 0 Option Pack, it was subsequently included as a free component of Windows Server (since the initial release of Windows 2000 Server). It has now been superseded by ASP. NET.

Developing functionality in ASP websites is enabled by the active scripting engine’s support of the Component Object Model (COM), with each object providing a related group of frequently-used functions and data attributes. In ASP 2. 0 there were six built-in objects: Application, ASPError, Request, Response, Server, and Session. Session, for example, is a cookie-based session object that maintains the state of variables from page to page. Functionality is further extended by objects which, when instantiated, provide access to the environment of the web server; as an example FileSystemObject (FSO) is used to create, read, update and delete files.

In order to evaluate and assess ASP. Net you have to first understand the acronym and then access the support provided. The full form of the acronym is Active Server Pages . Net. This dedicated Microsoft application has been developed to create web pages and wireless or internet enhanced Microsoft . Net web programming technologies.   ASP. net is rife with efficiency and effectiveness and forms an integral part of the software giant’s . Net vision. It is in this capacity that the . Net framework becomes indispensible to web programmers and developers. The end result created is dynamic and sophisticated. Read more…


Email This Post Email This Post


Tags: ASP, ASP.NET, Effectiveness, Microsoft

 
0

Real world PHP Programming VTC

Posted by OD on Jul 5, 2010 in PHP, Programming Tutorials, Tutorials, Video


www.adobe4u.com ….. By www.Adobe4u.com


Email This Post Email This Post


Tags: Development, Objective-C Programming, PHP, Programming, Real, Tutorial, Tutorials, Video, Web Programming Tutorials, World

 
0

Virtual Paths in ASP.NET 3.5 Tutorial

Posted by OD on Jul 5, 2010 in ASP.NET, Microsoft, Programming Tutorials, Tutorials, Video


Virtual paths can be tricky in ASP.NET when dragging user controls across different folders.


Email This Post Email This Post


Tags: ASP.NET, Paths, Tutorial, Video, video tutorials, Virtual

 
1

PHP Tutorial #2 – Variables and comments

Posted by OD on Jul 4, 2010 in PHP, Tutorials, Video, Web Devleopment Platforms


Remember this video has been uploaded in full HD, 1280X720 (720P)! If you have a good internet connection please view in HD for better viewing. In this lesson we will show you the some of the items needed in everyday PHP programming, variables and comments. A short overview about what is talked about in the video: -PHP comments. -PHP variables (Strings [text], Integers [numbers], and some variable rules). Thank you for watching. PS: You can now see this tutorial on the XCodec Official gallery, gallery.thexcodec.com


Email This Post Email This Post


Tags: Comments, PHP, Tutorial, Variables, Video, video tutorials

 
0

Dev ASP.NET VS 2008 C# Module 12 of 16 – Part 3 of 4


Intro course on Visual Studio 2008, C#, ASP.NET 3.5 Module 12: Silverlight


Email This Post Email This Post


Tags: ASP.NET, C#, Development, Tutorial, Tutorials, Video, VS2008, Web Programming Tutorials

 
0

Report: Verizon iPhone Coming Soon

Posted by OD on Jul 4, 2010 in Apple

Report: Verizon iPhone Coming Soon

Verizon Wireless customers who have been holding out for an iPhone on their carrier’s network may finally get their wish early next year, according to Bloomberg News.

Read more on WCBS-TV New York


Email This Post Email This Post


Tags: Coming, iPhone, News, Report, Soon, verizon

 
11

PHP Tutorial: Cookies part 2

Posted by OD on Jul 4, 2010 in PHP, Programming Tutorials, Tutorials, Web Devleopment Platforms


Cookies store data on the users computer ready for the server to read back from them. I show you how to set, show, check for and destroy cookies in this tutorial.


Email This Post Email This Post


Tags: Cookies, PHP, Tutorials

 
1

How can I update,Insert and Delete a DataList’s value at run time through ASP C#. Net?

Posted by OD on Jun 1, 2010 in ASP, ASP.NET, C# Programming, Programming Tutorials

I have a datalist where I like to manipulate the data at run time. How will I do that ? please help me through ASP. Net C#

Powered by Y! Answers


Email This Post Email This Post


Tags: ASP.NET, C#, CRUD, Delete, Development, Programming, Q & A, updateInsert, value

 
7

Asp.Net MVC Tutorial Overview Part 3

Posted by OD on May 31, 2010 in ASP.NET, Programming Tutorials, Tutorials, Video


Email This Post Email This Post


Tags: ASP.NET, MVC, Overview, Tutorial, Tutorials, Video

 
0

Internet Marketing Video Tutorials.

Posted by OD on May 31, 2010 in Tutorials, Video, Web Devleopment Platforms

Video Tutorials For Internet Marketing Success, E.g. CPanel, Drupal, Wordpress, Gimp, Ppc, Adwords, Aweber, Video Marketing, Html, Kompozer HTML-Editor, List-Building, Roboform, Traffic Generation, Traffic-Monetization, Etc.
Internet Marketing Video Tutorials.


Email This Post Email This Post


Tags: Internet, Marketing, Tutorials, Video

 
0

Crystal Reports Tutorial Using Running Totals Business Objects Training Lesson 13.1

Posted by OD on May 31, 2010 in Business Intelligence, Data Warehousing, Tutorials, Video


Learn how to use a running total in Crystal Reports by Business Objects at www.teachUcomp.com. Get the complete tutorial at www.teachUcomp.com – the most comprehensive Crystal Reports tutorial available.


Email This Post Email This Post


Tags: business, Business Intelligence, Business Objects, Crystal, Lesson, objects, Reports, Totals, Training, Tutorial, Tutorials, Video, video tutorials

 
0

ASP.NET Tutorial – Configuring, Building and Deploying a Web Site- Part2


In this lesson, you will see what is required to make your ASP.NET applications available to everyone. This includes configuring, building, and deploying your web site. For Best View: watch the video in Full Screen Mode.


Email This Post Email This Post


Tags: ASP.NET, Building, configuring, Deploying, Site, Tutorial, Video

 
7

PHP Basics: Common Errors (Part 3)

Posted by OD on May 13, 2010 in PHP, Programming Tutorials, Tutorials, Video, Web Devleopment Platforms


Common errors you may come across when programming, and the solutions.


Email This Post Email This Post


Tags: Basics, Common, Errors, Part, PHP, Tutorial, Video

 
0

ASP.NET AJAX – Sys.Net.WebRequest to Access Web Service – Part 1 of 4

Posted by OD on May 13, 2010 in ASP.NET, Programming Tutorials, Tutorials, Video


The tutorial shows how to access web services using client side ASP.NET AJAX libraries. We use Sys.Net.WebRequest to access remote web service.


Email This Post Email This Post


Tags: Access, AJAX, ASP.NET, Part, Service, Sys.Net.WebRequest, Tutorials, Video

 
5

Modeling Business Objects with XML Schema

Posted by OD on May 13, 2010 in Business Intelligence, Data Warehousing, books

Product Description
XML Schema is the new language standard from the W3C and the new foundation for defining data in Web-based systems. There is a wealth of information available about Schemas but very little understanding of how to use this highly formal specification for creating documents. Grasping the power of Schemas means going back to the basics of documents themselves, and the semantic rules, or grammars, that define them. Written for schema designers, system architects, programmers, and document authors, Modeling Business Objects with XML Schema guides you through understanding Schemas from the basic concepts, type systems, type derivation, inheritance, namespace handling, through advanced concepts in schema design.

*Reviews basic XML syntax and the Schema recommendation in detail.
*Builds a knowledge base model step by step (about jazz music) that is used throughout the book.
*Discusses Schema design in larg. . . More >>

Modeling Business Objects with XML Schema


Email This Post Email This Post


Tags: books, business, Business Intelligence, Modeling, objects, Schema, XML

 
0

Special Report: Can that guy in Ironman 2 whip IBM in real life?

Posted by OD on May 12, 2010 in Oracle

Special Report: Can that guy in Ironman 2 whip IBM in real life?
In the movie “Ironman 2,” Larry Ellison makes a cameo appearance as a billionaire, playboy software magnate. It is a role he knows well. He is playing himself — chief executive of Oracle Corp, one of Silicon Valley’s most enduring, successful and flamboyant figures.

Read more on Reuters via Yahoo! News


Email This Post Email This Post


Tags: Ironman, Life, Real, Report, Special, whip

 
2

Easy Oracle PL/SQL Programming: Get Started Fast with Working PL/SQL Code Examples

Posted by OD on May 12, 2010 in Oracle, PL/SQL, books

Product Description
Designed for any Oracle professional who must quickly implement Oracle reporting, this indispensable guide offers new tips and tricks that make Oracle reporting simple. The basics of PL/SQL are introduced using multiple examples that include code snippets and sample code results. The example-driven methodology teaches PL/SQL language structures, anonymous blocks, and stored procedures so well that by the end of the first chapter users will be coding blocks confidently. Exercises are also provided intermittently to test knowledge comprehension.  While gradually building on previous concepts and increasing in complexity, this handbook always focuses on manageability. . . . More >>

Easy Oracle PL/SQL Programming: Get Started Fast with Working PL/SQL Code Examples


Email This Post Email This Post


Tags: books, Code, Easy, examples, Fast, Oracle, PL/SQL, Programming, started, WORKING

 
4

Learn Xcode Tools for Mac OS X and iPhone Development

Posted by OD on May 11, 2010 in Objective-C Programming, books

  • ISBN13: 9781430272212
  • Condition: NEW
  • Notes: Brand New from Publisher. No Remainder Mark.

Product Description
This book will give you a thorough grounding in the principal and supporting tools and technologies that make up the Xcode Developer Tools suite. Apple has provided a comprehensive collection of developer tools, and this is the first book to examine the complete Apple programming environment for both Mac OS X and iPhone. Comprehensive coverage of all the Xcode developer tools Additional coverage of useful third-party development tools Not just a survey of features, but a serious examination of the complete development process for Mac OS X and iPhone applications What you’ll learn The book is holistic, providing a comprehensive sweep across the available development tools. The book is structured, taking a logical and progressive journey from the basics to a firm understanding of the purposes, benefits, and limitations of each component of Xcode’s developer tools. The tone is friendly and accessible—we wouldn’t. . . More >>

Learn Xcode Tools for Mac OS X and iPhone Development


Email This Post Email This Post


Tags: books, Development, iPhone, learn, tools, XCode

 
16

iPhone Programming – Easy Image Animation

Posted by OD on May 11, 2010 in Programming Tutorials, Tutorials, Video, iPhone Development


Learn how to animate an image by making it transform, scale, and rotate! Subscribe to get 1 tutorial each day about iPhone Programming! Twitter: twitter.com Website: www.pixelcubestudios.com Twitter twitter.com Facebook: www.facebook.com


Email This Post Email This Post


Tags: Animation, Easy, Image, iPhone, Programming, Tutorials, Video

 
2

Oracle Web Application Programming for PL/SQL Developers

Posted by OD on May 9, 2010 in Oracle, Web Devleopment Platforms, books

Product Description
This book covers everything you need to know to master Web application development in an Oracle environment – using PL/SQL. It is packed with practical tips that save the reader time, effort and frustration while developing and deploying Internet-ready, e-commerce applications using Oracle 9i. The book also provides important information on core topics such as HTML, Java, XML, WML, Perl and PHP, as well as covering various maintenance duties, such as troubleshooting, debugging, indexing, testing and site analysis. As Oracle’s premier tool for building store procedures, PL/SQL uniquely supplements the standard relational database language, SQL, with the features needed to build real-world applications. . . . More >>

Oracle Web Application Programming for PL/SQL Developers


Email This Post Email This Post


Tags: application, books, Developers, Oracle, PL/SQL, Programming

Copyright © 2010 Ozar.net Developer Blog All rights reserved. Theme by Laptop Geek.