Thursday, December 13, 2007

Configuring Java on Linux

http://sdnshare.sun.com/view.jsp?id=1018

Exo ECM Architectiure request process


Exo_platform Architecture


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

content from : http://www.freeutils.net/source/jcharset/

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.

Tuesday, September 18, 2007

Working with Database ASP.Net & C#.Net 2.0

For running large queries with ASP.Net and C#.Net in SQL Server 2005,

http://www.asp.net/learn/data-access/tutorial-25-cs.aspx
http://static.asp.net/asp.net/files/DataTutorials/datatutorial25cs.pdf



Introduction



Basic Reporting



Master/Detail



Custom Formatting



Editing, Inserting, and Deleting Data



Paging and Sorting



Custom Button Actions



Displaying Data with the DataList and Repeater



Filtering Scenarios with the DataList and Repeater



Editing and Deleting Data Through the DataList



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



Enhancing the GridView



Working with Binary Files



Caching Data



Database-Driven Site Maps



Working with Batched Data



Advanced Data Access Scenarios







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)

















Controls
ASP.NET Controls Tutorials and Code Samples




How to use Panel Control using ASP.NET 2.0 and VB.NET



How to use Panel Control using ASP.NET 2.0 and C#.NET



Calculate Price using ASP.NET 2.0 GridView and VB.NET

















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

















Email
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

















Error Handling
ASP.NET Error Handling Tutorials and Code Samples




Retrieve error message from event log in ASP.NET2.0(VB)



Retrieve error message from event log in ASP.NET2.0(C#)



Recovering an Exception using ASP.NET 2.0 and C# .NET

















File
ASP.NET File Tutorials and Code Samples




How to export GridView to Word using ASP.NET 2.0 and VB



How to export GridView to Word using ASP.NET 2.0 and C#



Reading and writing to file using ASP.NET 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

















Validation
ASP.NET Validation Tutorials and Code Examples




Forms authentication using ASP.NET 2.0 and VB.NET



Forms authentication using ASP.NET 2.0 and C#.NET



Validating with RegExs using 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










Posted by Picasa

Monday, September 17, 2007

My First Blog

Hi everyone,

This is my first blog and from now onwards I will try to good bookmarks and tutorials about java SE,EE and .Net