ujwwala tem

Ranch Hand
+ Follow
since Feb 10, 2010
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 ujwwala tem

Hi Team,

So wht I understood is a overriding is based on he inheritance and polymorphysm so it is inappropriate to just define the method in subclass only instead we can override it a we want,

Thanks,
Uju
8 years ago
Hi ,
I answered as it will inherit the superclass feature and add its own functionality in subclass but still I m not clear as why to override

Thanks
8 years ago
Hi,

Thank for the reply,

My query is like what is the need of overriding ,This has been asked to me in interview,

As in overriding,the method from superclass gets overriden so whet is the need of that,can n't we write the new method in subclass only,I know as it will add special features according to subclass but then interviewr told as better to write in subclass only..

Please explain with real time scenario,

Thanks

8 years ago
Hi Team ,

I know the concept of overriding from super class but still I am not clear as why there is a need for overriding ,cann't we write the complete functionality in subclass only,

Please reply with any example,

Thanks,
Uju
8 years ago
Hello,

I have a column as ID with generation type as IDENTITY,How can I make sure it will generate unique ids as it is giving constraint violation exception,ideally it should generate next available value,

Please reply and what is then difference between sequence and IDENTITY,Please clarify,

Thanks,
Uj
Hi Ulf,

Actually we have to think of the scanarios may incur as this is internal application,

Also Please let me know your inputs on how to set the batch size (sometimes we get 2 records or 100 records),Please reply,

Thanks,
Uj
Hi Ulf,

There is no requirements gathering as such,we are designing for ourself ease the task,everytime the Hr users send us excel,we manually update from databse,instead of thet we will give them page and they will upload from UI,

Please suggest for the different scenarios in this case I have to think of,with my above message,Also one thought coming in my mind as if there are 2 records ,sometimes 100 records so If I set the batchsize of 100 how the code will be like ,if it reaches the batch size then only we execute the batch but how to set the minimum and if it is sometimes only one record then how to execute with batch,,
Please reply in detail,

Thanks,
Uj
Hi All,

Still I have few questions,

I need to prepare use caes for reading the excel and storing in database,

1.Once validated I need to store the data in DB
2.what if on nth record the DB goes down
2.how should I set the batch size and how it will give exception if not insreted all,

Plaese clarify the use cases and any scenarios you experts know in this case,

Tahnks,
Uj
Thanks Ulf,

Yes I will start by my own,will let you know if I face difficulty,

Thanks,
Uj
Hi Tahnks all for your reply but I am beginner,Request you to give saome sample code to parse the excel and store in oracle database,

As raising query in miy mind how row by row I will store in database ,how I will populate each as a dao object,Please guide,

Thanks,
Uj
Thanks Santosh,

I have already developed some sample what you have posted, read the values but I need to save each and every row from excel into database and also wanted to ignore heading part from excel,
Please let me know if you have sample code,

Thanks,
Uj
Hi Team,

I need to upload once excel file and read it and save in database using POI,Please let me know how to do validations as well like emp id as 8 chars ,

Plaese reply if some sample code is there,

Thanks,
Uj
Hi,

I am trying to run a webservice(Rest) as per the article http://www.techpages.org/webservice/simple-restful-web-services-using-java-and-mysql-example/2009/
and in my but I am not getting response from webservice ,
If I write System.out.println("Logged in User")then it prints but If I write return Logged in user+username it is asking in a dialogue box apperaing to save or open the file,

Is this related to any MIME type something,

Please reply,

Thanks,
Uj
9 years ago
Thanks for the reply,Acually I added correct versions og jersey jars and it is not asking now,

Couldn't understand what has happened but now the code works fine,

Thanks,
Uj
9 years ago
Hi,

I am trying to create rest webservice using jersey in eclipse+tomcat7,

Here I am facing two problems 1. It is always giving com.spi.jersey.container.servletcontainer class not found exception though I added jerseyserver.jar and jersey-servlet.jar and all other jars of jersey and the class is pressent already,this is happening on tomcat startup so I wanted to know what I did is correct or not I added javabuild path in depolyment assembley and all jersey jars in tomcat classpath,
and the error gone,is this correct approach?

2.when I am running the project as run on sever it is asking me to enter some XDB username and password,I tried to change the port of tomcat to 8082 but still its is asking,

Kindly help how I should run my first Rest webservice,

Thanks,
UJ
9 years ago