User Profile

Collapse

Profile Sidebar

Collapse
itsraghz
itsraghz
Last Activity: Jan 1 '15, 03:42 PM
Joined: Mar 31 '07
Location: Bangalore, India
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • What have you done so far? Can you please share your logic (that gave an error)? We can try to improvise in your own approach with the suggestions if applicable for any best practices.
    See more | Go to post

    Leave a comment:


  • itsraghz
    replied to OCJP Question
    in Java
    Hi gautam,

    Though at first site, you may sound to be correct, it is NOT true. Yes, interfaces can not be instantiated directly as below

    Code:
    interface MyInterface{}
    
    class MyClass
    {
       public void myMethod()
       {
          MyInterface myIntObj = new MyInterface();
       }
    }
    The above codes throws a compiler exception saying that an interface...
    See more | Go to post

    Leave a comment:


  • Look at the lines 75 to 77 in your code pasted above.

    Code:
    LuxuryCarRental rentIt = new LuxuryCarRental(name, zipCode, carSize, 
             daysRented, chauffer);
             rentIt.display();
    Whereas the object rentIt is of type LuxuryCarRental . But the class LuxuryCarRental does not have a method 'display'. Hence the error.
    See more | Go to post

    Leave a comment:


  • itsraghz
    replied to Ruby and Ruby on Rails Tutorials
    in Ruby
    Hi,

    I guess the links to the below tutorials don't work.

    Learn to Program with Ruby - by Chris Pine
    Programming Ruby - Pragmatic Programmer's Guide

    Looks like the pages are moved. Kindly check them out.
    See more | Go to post

    Leave a comment:


  • itsraghz
    replied to MySQL Basic Tutorial
    This will be a very precise and need of the hour tutorial for the beginners. Appreciate your efforts Atli :)
    See more | Go to post

    Leave a comment:


  • itsraghz
    replied to java jdbc help...
    in Java
    Hi Nepomuk,

    Yes, there are quite a few alternatives towards the betterment. Not just for JSP, but also for Servlets you have Struts, Spring etc.,

    However, I have suggested these for starting off with the Java EE based web application, which the other frameworks are also based on.
    See more | Go to post

    Leave a comment:


  • Just to add with what Exequiel had said, you should ensure you have a Web Server (example Apache) running on your computer that helps the PHP scripts to be processed.
    See more | Go to post

    Leave a comment:


  • itsraghz
    replied to java jdbc help...
    in Java
    Adding on top of the suggestion given by Nepomuk that helps you to interact with the database using JDBC (within Java), you should also read Servlets and JSP (Java Server pages) to start with simple web application that helps you write a web application for the user friendly and easy navigation of application.
    See more | Go to post

    Leave a comment:


  • To keep it simple, both work on the back end. The difference lies in how and where the operate in the back end.

    Struts is a framework for easily developing Java EE based web applications. Hibernate is a framework for mapping your (ORM - Object Relational Mapping) Database objects into your Java objects.
    See more | Go to post

    Leave a comment:


  • In addition to the suggestions and tips given by r035198x, to answer your actual question, you can add the "<a href="">LinkFro mDatabase</a>" to your content retrieved from the database.

    Tip: You should actually escape the double quotes using \.
    See more | Go to post

    Leave a comment:


  • itsraghz
    replied to Why do java not work?
    in Java
    Hi,

    You yourself have an answer. If you are specifically looking for a different version of JRE, directly download it from http://oracle.com.

    However, as far as any software is concerned (not just Java), whatever you are able do to with version x, should definitely be doable with version x+1.
    See more | Go to post

    Leave a comment:


  • itsraghz
    replied to Web Server and Application Server
    in Java
    simply, a program which is in need of something (resource/data) and able enough to contact/approach a server program that serves the data is called a Client. An application being developed for the same is called as Client Application.
    See more | Go to post

    Leave a comment:


  • yes of course. but I felt proceeding with the process itself as I can get hold of the entire process so as to destroy/kill at once completely! Thus, have chosen this way.
    See more | Go to post

    Leave a comment:


  • Yes, that is what I also meant. Apologize if it was not reflected in the words.
    See more | Go to post

    Leave a comment:


  • Hi r035198x,

    Hope you are doing fine. Thanks for the reply!

    Yes of course. You are right. Just because a method is deprecated does not mean that we can't/should not use. However, this usage is strictly NOT suggested by Sun itself as they are potentially dangerous (wrt the locks the objects might have acquired) Reference URL -> http://java.sun.com/j2se/1.5.0/docs/...precation.html.
    ...
    See more | Go to post

    Leave a comment:


  • itsraghz
    started a topic process.destroy() does not kill the subprocess
    in Java

    process.destroy() does not kill the subprocess

    Dear All,

    I have an issue with destroy() method of java.lang.Proce ss class. All what I am trying to do is, controlling the execution of one program through another. Let's say, Program B has to be executed conditionally through Program A based on the commands it gets from the user. Let's say, we have two inputs, "start" and "stop" to drive the Program B.

    I have thought of various alternatives....
    See more | Go to post

  • Thank you very much Pilgrim.

    You are absolutley right and I do agree with the complexity its gonna take than the manual verification. Anyways, I just have to go with the plain, non-conditional version of sql script by bearing the overheads....
    See more | Go to post

    Leave a comment:


  • Thanks amit. It was for writing a SQL Script when setting up the new module for the existing database instance. There are times/situations wherein we need to atler the existing tables according to the new module. That's the reason I just had a thought compared to what MySQL gives this facility....
    See more | Go to post

    Leave a comment:


  • Thank you Pilgrim33 and amitpatel for having replied immediately.

    I do agree with the alternatives for "really checking" before you do with your DDL statements. But it should be at the cost of this quite-lengthy-and-expensive operation?

    In MySQL, we have,

    Code:
    CREATE TABLE IF EXISTS MyTable (..);
    Don't we have a similar-and-easy way to accomplish the same in Oracle?

    Thanks,...
    See more | Go to post

    Leave a comment:


  • itsraghz
    started a topic Does an "IF Exists" clause exist in Oracle?

    Does an "IF Exists" clause exist in Oracle?

    Hello All,

    I remember in MySQL we do have "IF EXISTS", 'IF NOT EXISTS" clause/keyword in the DDL statements (CREATE,DROP etc.,) to avoid unnecessary bombing.

    Do we have such facility in Oracle? If not is there any other easy way to achieve it? I am using Oracle 10g. I have been searching through google and also in oracle.com but unable to get it out.

    Thanks,
    Raghavan alias Saravanan...
    See more | Go to post
    Last edited by itsraghz; Nov 19 '08, 12:05 PM. Reason: altered the sentences
No activity results to display
Show More
Working...