Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by wushutwist

  1. wushutwist

    Useing double ticks in an out.println statement

    You need to escape the " character: \"
  2. wushutwist

    How to configure WL to use oracle names server?

    This has nothing to do with WebLogic. It has to do with your Oracle Client Setup. Run Net8 Assistant and promote ONames higher than TNames in the your profile.
  3. wushutwist

    Tomcat Security Advisory

    Hole in Tomcat 4.X allows the source code for JSPs to be viewed. Check here for more details and solutions: http://online.securityfocus.com/archive/1/292936/2002-09-22/2002-09-28/0
  4. wushutwist

    Should I go for ArrayList of ArrayLists / ArrayList / Something else?

    You don't need to retrieve all the columns to fill the DTO. Just fill the columns that you need. Though I would argue that you should fill everything. Do not performance-tune an application until you have determined performance is an issue. I feel your coupling concern is a weak argument...
  5. wushutwist

    Should I go for ArrayList of ArrayLists / ArrayList / Something else?

    Create a data object to model your database table and then create an ArrayList of these data objects? This is the standard way to deal with this problem. These data objects are typically referred to in J2EE as Data Transfer Objects or DTOs. Take this table: table item { id number primary...
  6. wushutwist

    Connection Pooling

    Most Application Servers and JDBC Drivers come with built-in connection pooling software. I suggest you use that.
  7. wushutwist

    Non Blocking IO's

    What he is really saying is that he wants you to know about NIO, which was just added in J2SE 1.4. Check out this article: http://developer.java.sun.com/developer/technicalArticles/releases/nio/ and then start browsing the API. Don't worry, you'll do fine. Of course, I don't really know that...
  8. wushutwist

    Thanks Sedj, but could you look at this?

    Now you beat me to the punch meadandale [sad].
  9. wushutwist

    Thanks Sedj, but could you look at this?

    A Vector is not the same to a linked list. A Vector is internally based upon an array. This means a Vector allocates chunks of memory from the heap at a time. If you add more elements than the internal array can hold then Vector creates a new array of twice the original size, copies the...
  10. wushutwist

    Memory Leak?

    Don't make the mistake of assuming that their can't be memory leaks in Java Applications. Memory leaks in Java are just much more subtle. The garbage collector only reclaims memory from objects that are no longer actively referenced. Memory leaks in Java result from a central point never...
  11. wushutwist

    Thanks Sedj, but could you look at this?

    Your problem is coming from the fact that Search.readTokens is incorrect. You define the method as returning a String array, which doesn't seem like what you want, yet in the method you define a String array and initialize it as an int array. This is obviously never going to compile. I think...
  12. wushutwist

    ASP to JSP

    Moving from ASP to JSP will be pretty straight-forward with the exception of two things: 1) If you are using custom COM objects in your ASP pages then these will need to be rewritten as Java objects. If you are using third-party COM components then you will definitely have to do some research...
  13. wushutwist

    Detecting Java plug-in version

    Check out Browser Hawk: http://www.browserhawk.com
  14. wushutwist

    String to int?

    Integer.parseInt Avoid cross-posting.
  15. wushutwist

    String to Int?

    Integer.parseInt

Part and Inventory Search

Back
Top