User Profile

Collapse

Profile Sidebar

Collapse
kuldeeprsks
kuldeeprsks
Last Activity: Aug 30 '12, 11:56 AM
Joined: Dec 19 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Object pooling in Socket Connection to increase throughput

    Object SharingOn a Windows 2000 (XP etc.) platform, it is possible to ‘share’ the Component Enabler client object (the LINCEnvironment object) among users. This can be achieved by making use of the COM+ features of the platform itself.
    Setting up is easy

    The LINCEnvironment object can be made into a COM+ object, simply by declaring it as such using the Component Services console from the control panel. A wizard lets...
    See more | Go to post

  • kuldeeprsks
    started a topic POJO - Plain Old Java Object
    in Java

    POJO - Plain Old Java Object

    A POJO is a Java object that doesn't implement any special interfaces such as those defined by the EJB 2 framework.

    POJOs also accelerate development. You can test your business logic outside of the application server and without a database. You don't have to package your code and deploy it in the application server. You also don't have to keep the database schema constantly in sync with the object model or spend time waiting for slow-running...
    See more | Go to post

  • kuldeeprsks
    started a topic Creating jar file in java
    in Java

    Creating jar file in java

    Creating a jar File in Command Prompt

    Start Command Prompt.
    ------------------------
    Navigate to the folder that holds your class files:
    C:\>cd \mywork

    Set path to include JDK’s bin. For example:
    -------------------------------------------
    If path & Classpath is set as environment variable then:
    C:\mywork> javac

    If not then for active session:...
    See more | Go to post

  • kuldeeprsks
    replied to jdbc servlet running
    in Java
    there can never be version issue between two different platform. the issue might be with your DSN or DB connection check your java class first and test the connection.
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to How to open connection?
    in Java
    Yes you can do it in same method but try and handle your connecton object(Open & close).
    See more | Go to post

    Leave a comment:


  • after creating DSN test your connection first then compile your code and run.
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to Java Jdbc executing store procedure
    in Java
    check your procedure call whether it returns you a resultset or not.
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to jdk1.5 to jdk 1.6
    in Java
    if you want jdk1.5 compiled file to run in jdk1.6 then compile the same with jdk1.6 and vice versa bcoz java gives version mismatch error.
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to What does "0x" in Java mean?
    in Java
    0X hexadecimal representation to know more about this use Scientific calculator in windows there you can get values for a Alphabets(ASCII value) in hex.
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to crabbing table from html page
    in Java
    in java
    HttpServletResp onse response
    response.setCon tentType("text/html");
    PrintWriter out = response.getWri ter();
    you can use html code in out.Println("<h tml> <body><table> </table></body></html>");
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to Tomcat manager throws java exception
    in Java
    if this mentioned exception comes in the webpage while accesing your servlet then check your web.xml file also check whether your files are placed under the mentioned directory (Required file for servlet is your java class file).
    See more | Go to post

    Leave a comment:


  • 1. JavaScript is a scripting language mainly used in web language(HTML, Asp.net) for clientside scripting and validations opposite to this is vbscript used for serverside scripting (handling user inputs.)

    2. Java is a opensource language used to create webApplications & Desktop applications. the use of java against .net is bcoz it is platform independent you compile your javacode in windows on ex. java 1.5 you can run this complied...
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to I'm getting a return statement error
    in Java
    1. In While loop the condition is
    tested first and then the statements are executed if the condition turns out to
    be true.
    In do while the statements are executed for the first time and then the conditions
    are tested, if the condition turns out to be true then the statements are
    executed again.

    All block in method isPalindrome is not return a value.
    Place a return between //close while and...
    See more | Go to post

    Leave a comment:


  • First you write the output line.
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to Data Validation
    in Java
    If both the class are in same package then it can be done by simply creating a object of class [lines] and with the help of that object you can access that validation method. If they are not in same package then create a interface to access it or define that method as static then create class Lines object and now you can access static method of class Lines in Main class.
    See more | Go to post

    Leave a comment:


  • Instead of infinity try using the max value of the datatype.
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to Java Error
    in Java
    try and compile your code after setting Environment variable for java (Path, classpath).open comand prompt compile your code and run if still gets the same error then try use this:
    set Classpath ="*.*"; wirte the statement in command prompt and then again compile and run your code this statement set sets the classpath to your current directory so that jvm can find you class file.
    See more | Go to post

    Leave a comment:


  • Connecting to Ms Access with ODBC require [Microsoft Access Dreiver(*.mdb)] create your DSN and then move forward for sun.JDBC.ODBC connection.
    See more | Go to post

    Leave a comment:


  • Check whether you are able to login into the mentioned sql server wiht the userid& password used in the DSN connection if not then it may be Admin rights issue. If so then assign rights to your ID or reinstall the same with you loginid.
    See more | Go to post

    Leave a comment:


  • kuldeeprsks
    replied to Calendar GUI ArrayOutOfBoundsException
    in Java
    Refer www.toedter.com JCalendar for calendar related tips and help in java.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...