Thursday, December 13, 2007
Exo ECM Architectiure request process
Form request->to portlet (UIPortlet’s subclass) or UICommand class -> sets Renderer using (VelocityRenderer), sets class using setClazz
-> gets RequestInfo using RequestInfo class -> using a Business service object (For ex:OrganizationService)-> gets Handler(Handler Implementor which is like a DAO) -> using hibernate service ->gets data from database and puts in java objects -> Performs
Business process
Exo-ECM postgres SQL configuration
1) JDBC Driver – copy the driver to application service lib directory.
URL: jdbc:postgresql:postgres
Driver Class: org.postgresql.Driver
Username: postgres
Password: postgres
2) Configure the driver .
http://docs.exoplatform.org/exo-documents/exo-jcr.site/dbcontainer.html
Single-database configuration:
Configure the “database-configuration.pgsql.xml” and “database-configuration.xml” available in “%EXO-TOMCAT-HOME%/conf” directory to postgres: (If ‘database-configuration.pgsql.xml’ not available then take a content copy of ‘database-configuration.hsql.xml’ file and create new one)
The changes includes update the url of data base, driver class, username, password and dialect.
Here are the details for Poetgres:
URL: jdbc:postgresql:postgres
Driver Class: org.postgresql.Driver
Username: postgres
Password: inkriti
Dialect: org.hibernate.dialect.PostgreSQLDialect
3) Intigration
Work n progress:
We are getting issues while creating the tables into postgres data base as hibernate configuration for postgres sql is different from hsql(Ex: In scenarios of identity generation is different for different data bases)
Sunday, November 4, 2007
JAVA char set UTF-7
What is the Java Charset package?
The Java Charset package is an open-source implementation of character sets that were missing from the standard Java platform.
How do I use the Java Charset package?
The Java Charset package is written in pure Java, and thus requires no special installation. Just add the "jcharset.jar" file to your classpath, or place it in any of the usual extension directories.
The JVM will recognize the supported character sets automatically, and they will be available anywhere character sets are used in the Java platform.
As an example, you can take a look at java.lang.String's constructor and getBytes() method, both of which have an overloaded version that receives a charset name as an argument.
Monday, October 1, 2007
ASP.Net AJAX toolkit Control Library
Wonderful toolkit
http://www.asp.net/ajax/ajaxcontroltoolkit/
To create your own AJAX control Library
http://www.asp.net/ajax/ajaxcontroltoolkit/samples/Walkthrough/CreatingNewExtender.aspx
Tuesday, September 18, 2007
Working with Database ASP.Net & C#.Net 2.0
http://www.asp.net/learn/data-access/tutorial-25-cs.aspx
http://static.asp.net/asp.net/files/DataTutorials/datatutorial25cs.pdf
Introduction
Basic Reporting
- Displaying Data With the ObjectDataSource
- Declarative Parameters
- Programmatically Setting the ObjectDataSource's Parameter Values
Master/Detail
- Master/Detail Filtering With a DropDownList
- Master/Detail Filtering With Two DropDownLists
- Master/Detail Filtering Across Two Pages
- Master/Detail Using a Selectable Master GridView with a Details DetailView
Custom Formatting
- Custom Formatting Based Upon Data
- Using TemplateFields in the GridView Control
- Using TemplateFields in the DetailsView Control
- Using the FormView's Templates
- Displaying Summary Information in the GridView's Footer
Editing, Inserting, and Deleting Data
- An Overview of Inserting, Updating, and Deleting Data
- Examining the Events Associated with Inserting, Updating, and Deleting
- Handling BLL- and DAL-Level Exceptions in an ASP.NET Page
- Adding Validation Controls to the Editing and Inserting Interfaces
- Customizing the Data Modification Interface
- Implementing Optimistic Concurrency
- Adding Client-Side Confirmation When Deleting
- Limiting Data Modification Functionality Based on the User
Paging and Sorting
- Paging and Sorting Report Data
- Efficiently Paging Through Large Amounts of Data
- Sorting Custom Paged Data
- Creating a Customized Sorting User Interface
Custom Button Actions
Displaying Data with the DataList and Repeater
- Displaying Data with the DataList and Repeater Controls
- Formatting the DataList and Repeater Based Upon Data
- Showing Multiple Records per Row with the DataList Control
- Nested Data Web Controls
Filtering Scenarios with the DataList and Repeater
- Master/Detail Filtering With a DropDownList
- Master/Detail Filtering Across Two Pages
- Master/Detail Using a Bulleted List of Master Records with a Details DataList
Editing and Deleting Data Through the DataList
- An Overview of Editing and Deleting Data in the DataList
- Performing Batch Updates
- Handling BLL- and DAL-Level Exceptions
- Adding Validation Controls to the DataList’s Editing Interface
- Customizing the DataList’s Editing Interface
- Implementing Optimistic Concurrency
- Adding Client-Side Confirmation When Deleting
- Limiting Data Modification Functionality Based on the User
Paging and Sorting with the DataList and Repeater
Custom Button Actions with the DataList and Repeater
Accessing the Database Directly from an ASP.NET Page
- Querying Data with the SqlDataSource Control
- Using Parameterized Queries with the SqlDataSource
- Inserting, Updating, and Deleting Data with the SqlDataSource
- Implementing Optimistic Concurrency with the SqlDataSource
Enhancing the GridView
- Adding a GridView Column of Radio Buttons
- Adding a GridView Column of Checkboxes
- Inserting a New Record from the GridView’s Footer
Working with Binary Files
- Uploading Files
- Displaying Binary Data in the Data Web Controls
- Including a File Upload Option When Adding a New Record
- Updating and Deleting Existing Binary Data
Caching Data
- Caching Data with the ObjectDataSource
- Caching Data in the Architecture
- Caching Data at Application Startup
- Using SQL Cache Dependencies
Database-Driven Site Maps
Working with Batched Data
Advanced Data Access Scenarios
- Creating New Stored Procedures for the Typed DataSet’s TableAdapters
- Using Existing Stored Procedures for the Typed DataSet’s TableAdapters
- Updating the TableAdapter to Use JOINs
- Adding Additional DataTable Columns
- Working with Computed Columns
- Configuring the Data Access Layer’s Connection- and Command-Level Settings
- Protecting Connection Strings and Other Configuration Information
- Debugging Stored Procedures
- Creating Stored Procedures and User-Defined Functions with Managed Code
SELECT DEPTNO, ROW# FROM DEDBADM.DEPT TB1, TABLE (SELECT COUNT(*) + 1 AS ROW# FROM DEDBADM.DEPT TB2 WHERE TB2.DEPTNO < TB1.DEPTNO) AS TDEPT_TAB
WHERE ROW# BETWEEN 2 AND 4;
My Images (Just Fun)
Navigator: Home - Tutorials |
ASP.NET Code Examples and Tutorials by Category |
Advanced Technologies |
Advanced Development Technologies Secret by MD5 using ASP.NET 2.0 and VB.NET Secret by MD5 using ASP.NET 2.0 and C#.NET How to use HttpHandler using ASP.NET 2.0 and C#.NET |
AJAX |
ASP.NET AJAX Tutorials and Code Samples AJAX working with DropDownLists using VB.NET AJAX working with DropDownLists using ASP.NET 2.0 C# AJAX using ASP.NET 2.0 and VB |
Internet Browsers |
Browsers in ASP.NET Working with cookie in ASP.NET 2.0 and VB.NET Working with cookies in ASP.NET 2.0 and C# To show browser capabilities using ASP.NET 2.0(VB) |
Database |
Database Access in ASP.NET Hash table using ASP.NET 2.0 and VB Hash table using ASP.NET 2.0 and C# Making SQL transaction in DB using ASP.NET 2.0 and VB |
Sending Email in ASP.NET Send Email with Authentication using ASP.NET and VB.NET Send Email with Authentication using ASP.NET and C#.NET Send Email with Priorities using ASP.NET 2.0 and VB.NET |
Graphics |
Graphic control in ASP.NET Drawing in ASP.NET 2.0 and VB.NET Drawing in ASP.NET 2.0 and C# |
Network |
ASP.NET Network Tutorials and Code Samples Resolved hosting informat using ASP.NET 2.0 and VB .NET Resolved hosting informat using ASP.NET 2.0 andC# .NET Web caching in ASP.NET 2.0 (VB.NET) |
Performance |
ASP.NET Performance Monitor Tutorials and Code Samples Asynchronous Page in ASP.NET 2.0 and VB.NET Asynchronous Page in ASP.NET 2.0 and C# Asynchronous DataShow in Asp.Net 2.0 and VB.NET |
User Interface/Themes |
User Interface and Themes Making web progress bar using ASP.NET 2.0 and VB.NET Making web progress bar using ASP.NET 2.0 and C# CSS and Theme in ASP.NET 2.0 and VB.NET |
Visual Web Developer |
A complete guide to Visual Web Developer Installing Visual Web Developer 2005 What is Visual Web Developer 2005? |
XML |
Tutorials on XML in ASP.NET 2.0 Average Xml Data using ASP.NET and VB Average Xml Data using ASP.NET and C# RSS Reader using ASP.NET 2.0 and VB.NET 2005 |
Monday, September 17, 2007
My First Blog
This is my first blog and from now onwards I will try to good bookmarks and tutorials about java SE,EE and .Net