sachin kelkar

Greenhorn
+ Follow
since Aug 21, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sachin kelkar

Originally posted by jay vas:
Hi Guys : I tried porting mysql to hsqldb and found it virtually impossible. I also find the hsqldb has the worst documentation of any major database product that Ive come across .... for example, there is no hello world tutorial. I was quite dissapointed because I thought a standalone java database would be easy to install. I even found that once I got hsql working, its files were either not being stored, or being stored in a mysterious location.

Anyways, I was wondering if any of you has seen a GOOD tutorial on how to load data into hsqldb from a standard sql file, or if any of you has succesfully used hsqldb in a production level app... It seems promising but it initially has come across to me as very poor.




Jay

I think hsqldb has good and rich documention.
If you want do some tutorial.
Here is one for you!

1> Need jdk1.6.X
2> unzip hsqldb_1_8_0_7;
3> set environment variable(Windows)
control panal-->system->advanced-->env variable-->user variable-->
new button-->
vname HSQLDB_HOME
vvalue X:\hsqldb_1_8_0_7\hsqldb(location)
4>set classpath=.;%HSQLDB_HOME%\lib\hsqldb.jar;
5>open command prompt;
6> X:\hsqldb_1_8_0_7\hsqldb\data>java -cp ../lib/hsqldb.jar org.hsqldb.Server -database.0 file:mydb -dbname.0 xdb
7>open another command prompt;
8>X:\hsqldb_1_8_0_7\hsqldb\lib>java -cp hsqldb.jar org.hsqldb.util.DatabaseManager
9>connect window(Database Manager) will open;
9>select type -" HSQL Database Engine server"
10>URL jdbc:hsqldb:hsql://localhost/xdb
11>ok;
12>Database Manager will be connected to HSQL Database Engine server;
13>menu(command)create tables or perform your sql commands;


Create a directory called data in the root of the development
directory - this is where HSQL DB will store its data files.
Now start the database by running java -classpath ../lib/hsqldb.jar org.hsqldb.Server
in this data directory

see Server and Web Server Properties in guide.pdf

Sachin
Hi

If u prepared quit well from HF
then javaranch mock exam is very easy.
But there is no pt to give it again .
I would like to suggest you that once
u prepared upto the mark.There is free
JSP2.1 practise test from Brainbench.com
register on it & purchase any free test.
It has 40 questions 3m per q
u will get result of strong & weak area from test
Regards
Congragulation!!!
Keep going!

sachin
Read out JSP2.0 specfication

download it from jcp.org
Can anybody tell me?
How much voucher price for scwcd1.4
in india including discount at prometric center.
Thanks.
[ January 18, 2006: Message edited by: sachin kelkar ]
Add in your classpath path,
set classpath=c:\ \ \com\eample\model\GetHelloPic.class;
So that package will be loaded.
Then compile it.

c:\ ..\HelloAppl\src>javac -classpath \com\example\model\ \com\example\web\HelloApp.java

If you still confused with this.try out small example.
Look in specification (Javac) tools

Nregards
Many Many Congratzs to you
18 years ago
Thanks a lot!
ansar basha

Any suggestion are most welcome!
NRegards
Hi
mi Mohammed
Thanks for your views,which are certainly helpful to us.
I am preparing for SCWCD1.4,
I had a question that how many Drag and Drop Question in real exam.
Can anyone tell me.
Thanks
congragulation.
Hopefully continue your success in scwcd1.4
18 years ago
Hi Kathy,
Thanks a lot for writing such a nice book on Head First for Servlet
& JSP.But I havent understand

This example given from HF-Servlet & Jsp [Page-416]

Eg:-Look at this standard action:--

<jsp:useBean id="person" type="foo.Employee">
<jsp:setProperty name="person" property="name" value="Fred" />
</jsp:useBean>
<jsp:getProperty name="person" property="name" />


3> What happens if the servlet code like:-

foo.Employee p = new foo.Employee();
p.setName("Evan"); %>
request.setAttribute("person",p);

HF answered that this works fine & prints out 'Evan'.

But I work it out.

FAILS at request time.person attribute is stored at request scope.
<jsp:useBean> can't find an attribute object named "person" at page scope
which is defaults scope.
Will it be wrong or right?
Suggestions are welcome!
Congratz

Try for next exam !
I am sure,you will successed

Nregards

Sachin
18 years ago
Congragulation!

from Sachin

18 years ago
congragulation
Sirajudeen Mohamed
I also need guidence from you & your friends.


sachin
18 years ago