Sunday, March 7, 2010

JSF Vs Struts Post Your Responces as comments.


I worked on Struts 1.x i felt it was easy. Now I am working on JSF with JBoss Portlets its looks little bit complicated while development. Why its looking like that? Is really JSF is complex when compared to Struts?
 In struts I used to have request and response in My hand so that i felt every thing was in my hand to control the application.
 But Jsf with Portlets is not like that. We need to work around to get the request and response objects.But handling these request and response objects is not as easy as in struts.
I feel working with Jsf and portlets is little bit difficult when I compare  struts frame work.
Is Jsf complex or Jsf with portlets combination is complex ?

Can you please let me know when to go for JSF with portlets otherwise with struts.

Sunday, February 28, 2010

WI FI Beacame old then whats new?

Wi Fi stands for Wireless Fidelity and is used to define any of the wireless technology.

Recently in Jan 2010 Intel introduced a laptap which contains the technology called Wi Di.

Wi Di stands for wireless Display.

With Wi Di you can watch the movie in your TV while dowloading in your laptop.

Why to to wait lets enjoy the movie on the big screen.

I hope this will be a big hit for the intel.

Wish the intel to bring more such advanced technologies in to the world.

Wednesday, February 24, 2010

How to Import Oracle Database wih Data


Step 1:  Move to dmp file directory using command prompt

Step 2:  Connect to dba user in oracle
            sqlplus sys/manager as sysdba

Step 3:  Select the user language from the dual
            select userenv('language') from dual

Step 4:  Create the user in database with username empuser and password userpassword
              (use your own user/password)
             create user empuser identified by userpassword
             grant connect,resource privileges to empuser

Step 5: Come out from the sqlplus
             exit;

Step 6: set the language of the user which you got in the Step 3 in the command prompt.
             set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252

Step 7: import the database
            imp file=empuser.dmp fromuser=scott touser=empuser log=temp.log commit=y


These are the basic steps which i fallow while importing. These are not enough some times while importing and you can use several other methods to import the database.  


The popular oracle Books from Amazon:


Oracle Database 10g: The Complete Reference (Osborne ORACLE Press Series) 
Guide to Oracle 10g 
Oracle Database 10g Performance Tuning Tips & Techniques (Osborne ORACLE Press 
Oracle Database 10g PL/SQL ProgrammingSeries)

Wednesday, February 17, 2010

How to export Oracle Database with data

There are more ways exporting the database but i feel the procedure i fallow is good for me. You can do this as simple steps.

Step 1 : Connect to the user sys as sysdba 
              d:\>sqlplus sys/syspassword as sysdba

Step 2: Select the user language from dual
              sql> select userenv('language') from dual;

Step 3:  Come out of the sqlplus and set the LNS_LANG from the command prompt
             set NLS_LANG=  paste above display language

Step 4: Import the user using the fallowing command
           exp file=dumpfilename.dmp owner=scott log=expample.log


Popular Oracle  Books From Amazon:

Expert Oracle Database 11g Administration (Expert's Voice in Oracle)Oracle Essentials: Oracle Database 11gBeginning Oracle Database 11g Administration: From Novice to Professional (Beginning from Novice to Professional)Oracle Database 11g The Complete Reference (Osborne ORACLE Press Series)

Friday, February 12, 2010

My Experience with JSF

I am working with JSF from few days its cool and good.

So, I am planning to post several posts on JSF in near.

So be ready to fallow with me ..

I allow any suggestions and request from all

Thank you....

Monday, January 11, 2010

Thank full to Indiblogger

Indiblogger gave the 69th Rank to this blog. This is the credit of all the users who are visiting this site.This gives me the push up to write more posts and gives me the confidence to publish


This rank is dedicated to all the users who are fallowing this blog, visiting this blog and their patience on reading my posts.


I am very thankful to Indiblogger  for giving this rank.


Thanks,
Mallik G,
Hyderabad

Thursday, December 31, 2009

HAPPY NEW YEAR 2010

 


                      I WISH YOU

                                  A

                 HAPPY NEW YEAR
                              2010
                                                  By
                                               Mallik

Tuesday, December 22, 2009

WEB 3.0



The next generation of the web is WEB 3.0 .
The applications will make the user to feel comfortable and easier.


Many of the experts believe that the Web 3.0 browser will act like a personal assistant. In web 3.0 as you search the Web, the browser learns what you are interested in. The more you use the Web, the more your browser learns about you and the less specific you'll need to be with your questions. Eventually you might be able to ask your browser open questions like "where should I go for lunch?" Your browser would consult its records of what you like and dislike, take into account your current location and then suggest a list of restaurants.


The third web 3.0 search engines will take a great revolution in the web. The web 3.0 search engines searches phrases along with the words. This will act like human brain to summarize the results obtained by it.


As you heard the word web 3.0 you may think like what is web 1.0 or what is web 1.0 .


The term web 2.0 is coined by O'Reilly media. After knowing web 2.0 word people used to think about web 1.0 . With out confusion these terms are purely related to the web.


Web1.0 :
Web 1.0 is just like a library from there user can read the information and view the images. For the web 1.0 applications you cannot contribute the information.


Web 2.0:
Web 2.0 allows user to interact with the content on the web and he can share his content on it. The user will get rich experience with web 2.0.


As per the experts the web 3.0 should give every thing by depending on your like and dislikes. As per conversation this might look interesting and it may give good feel to visualize but it will give the headache for the experts while designing and developing.


Julie & JuliaJulie & Julia [Blu-ray] To Wong Foo Thanks for Everything Julie Newmar   The Sound of Music (Two-Disc 40th Anniversary Special Edition)

Monday, December 21, 2009

WEB 2.0



Web 2.0 is commonly used term in the software industry. Most of the people search in the web for this word. Most of the people tries to know about this word. why?


The term Web 2.0 purely related to the web application/Internet applications. As per Wikipedia "A Web 2.0 site allows its users to interact with other users or to change website content, in contrast to non-interactive websites where users are limited to the passive viewing of information that is provided to them".




The web 1.0 applications are the applications which gives information to the user but it won't interact with the user decision. In web 2.0 applications user interacts with the application and he share his decisions, he can own data and he can have control over data .


Web 2.0 sites may have an "Architecture of participation" that encourages users to add value to the application as they use it. Some people calls Web 2.0 as the “participatory Web” and Web 1.0 as “Informatory Web”.

Tuesday, December 15, 2009

Where we need to Store images, in SQL database or in separate folder while development?

These two ways are OK. My suggestion is to store images into sql database if there are no much more images, otherwise, it's better store them into file system because you can store them no matter how many there are.

Advantages of Storing BLOB Data in the Database:

Storing BLOB data in the database offers a number of advantages:
It is easier to keep the BLOB data synchronized with the remaining items in the row.
  1. BLOB data is backed up with the database. Having a single storage system can ease administration.
  2. BLOB data can be accessed through XML support in SQL Server 2005, which can return a base 64–encoded representation of the data in the XML stream.
  3. SQL Server Full Text Search (FTS) operations can be performed against columns that contain fixed or variable-length character (including Unicode) data. You can also perform FTS operations against formatted text-based data contained within image fields—for example, Microsoft Word or Microsoft Excel documents.
Disadvantages of Storing BLOB Data in the Database:
Carefully consider what resources might be better stored on the file system rather than in a database. Good examples are images that are typically referenced via HTTP HREF. This is because:
  1. Retrieving an image from a database incurs significant overhead compared to using the file system.
  2. Disk storage on database SANs is typically more expensive than storage on disks used in Web server farms. 
 Storing Image in a folder:
Storing Image in a folder and using URL or relative path in the database is the way I would recommend. They are having many advantages and here are some of them.
  1. Normally sql server space is more expensive than ordinary disk space in hosting environment.
  2. You can name images in a Search Engine optimized way
  3. Essay to manage, backup and restore images and database.
  4. More suitable for static pages, (if you optimize some pages for performance).

As per my opinion  storing images in the folder is more acceptable.