CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: bigBA

Page 1 of 27 1 2 3 4

Search: Search took 0.19 seconds.

  1. Spring/JCA Resource Adapter / Connection Manager - Flush Connections

    Hi there,

    we use Springframework 2.5.6, javax.resource 1.5.0 and connect to our backend through the Java Connector Architecure (ManagedConnectionFactory and so on).

    Is there a way to easily...
  2. Re: Compare the Interface (Methods, Public Members) of two Versions of the same Class

    Yeah, i need to specify a classpath for loading the classes. Some ParameterTypes of the methods come from other projects.
  3. Re: Compare the Interface (Methods, Public Members) of two Versions of the same Class

    dlorde, thanks for your effort.

    Here's the code i came up with (based in yours).

    I'm using the URLClassLoader instead of an own extended one. (Easier to use, and would work with jars on the...
  4. Re: Compare the Interface (Methods, Public Members) of two Versions of the same Class

    Ok, maybe i have to explain what i mean by two versions. :)

    Basically we build an API for two Applications built upon it.
    Application 1 is solely built by our client. Application 2 is built by us...
  5. Re: Compare the Interface (Methods, Public Members) of two Versions of the same Class

    People, right :) i just thought that maybe, there exists such a tool :)

    Well, such a tool could just check if the API of each Class hasn't change. The implementation of each Method could have...
  6. [RESOLVED] Compare the Interface (Methods, Public Members) of two Versions of the same Class

    Hi,

    Besides side-by-side source compare tools, does anyone know of a tool which takes two jars or paths with class files, loads classes at the same relative position and compares their public...
  7. Replies
    12
    Views
    1,603

    Re: Question about enum

    nope there is no such thing as a desctructor.
    well... there is a finalize method, which could be entitled as "destructor", but there is no specified time when and if this method is called... so, no...
  8. Replies
    12
    Views
    1,603

    Re: Question about enum

    and it can be declared as an inner class, not locally within a method (well, at least to my knowledge).


    public class Test
    {
    enum myEnum
    {
    A(10), B(9), C(8);

    ...
  9. Replies
    12
    Views
    1,603

    Re: Question about enum

    Hi,

    this would rather be the following:



    // simple enum, without special values
    enum A
    {
    A, B, C
  10. Thread: Strange for loop

    by bigBA
    Replies
    8
    Views
    1,923

    Re: Strange for loop

    maybe this link can clarify some things for you: http://java.sun.com/j2se/1.5.0/docs/guide/language/foreach.html
  11. Thread: Strange for loop

    by bigBA
    Replies
    8
    Views
    1,923

    Re: Strange for loop

    This special kind of for loop is suitable for Collections (List, Map...) and Arrays.
  12. Replies
    2
    Views
    1,631

    Re: launching webpage from java program

    hm... did you tried searching the net for "java open browser" or something similar?

    First hit i came up with: http://www.croftsoft.com/library/tutorials/browser/
  13. Thread: Strange for loop

    by bigBA
    Replies
    8
    Views
    1,923

    Re: Strange for loop

    Hi,

    this is a short form for writing


    for( int i=0; i < boxes.size() ) {
    Box<U> box = boxes.get(i);
    box.add(u);
    }
  14. Replies
    2
    Views
    1,564

    Re: instanceof UnmodifiableList

    Yeah.. hm. I'll have to check if this has too much impact in the performance.

    In the mean time i had to adjust the existing instanceof into
    callOutput.getClass() == ArrayList.class
    because we...
  15. Replies
    2
    Views
    1,564

    instanceof UnmodifiableList

    Hi,

    i have a method which gets some kind of output from a data call and in case that output is a List<?> turns it into an UnmodifiableList.



    if (callOutput instanceof List<?>)
    ...
  16. Replies
    8
    Views
    1,854

    Re: Closing a popup from the parent window

    yeah, peejavery is right.

    showModalDialog does not return until the _modal_ dialog is closed, confirmed, whatever from the user.
    it shouldn't even return a window handle, instead it should return...
  17. Replies
    10
    Views
    1,527

    Re: [RESOLVED] How to add plugin functionality to a class?

    well, with the magics you can call functions which do not actually exists in the class instance.

    maybe you can register function names in loadPlugin and in the magic __call funcitons just call...
  18. Replies
    3
    Views
    24,459

    Re: IE7 and ActiveX over SSL (https)

    hi, i think your problem is, that you do not have an ssl certififcate from a well known CA, like VeriSign or Thawte.
    In other words: You created a ssl certificate on your own, using your own CA, and...
  19. Replies
    10
    Views
    1,527

    Re: How to add plugin functionality to a class?

    hi,

    have look at the overloadind of php.

    You can define a "magic" __call function, with than gets called in case you call a member function which does not exist.
    (How to use __call exactly...
  20. Replies
    6
    Views
    1,171

    Re: updating sqldatabase thru php

    well, peejavery just told you which sql query (respectively: sql-command) you can use to insert data in the tables.
    but, the line of code just produces a string, holding the query. You have to...
  21. Re: Disable Buttons Till You Finish What You Have To Do?

    kindergarten... right? ;)

    i just wonder, because the OP said he has javascript disabled.. well indeed he said Java, but as he mentioned NoScript i assume he means javascript... and know he uses a...
  22. Re: [RESOLVED] Password Protecting PDF for Mag Subscription

    just in case you discover some strange download problems in IE:

    set these additional headers:


    header( 'Pragma: public' );
    header( 'Cache-Control: must-revalidate, post-check=0,pre-check=0' );
  23. Replies
    5
    Views
    931

    Re: Preg_replace all but something.

    if you have PHP5 at your hands then have a look at the DOM functions/classes.

    With them you could build a DOM Tree and extract whatever you want using XPath expressions.. way more elegant than...
  24. Thread: active sessions

    by bigBA
    Replies
    5
    Views
    1,299

    Re: active sessions

    well, if you have a way of detecting when the user closes the browser window/leaves the page, you can forcfully destroy the session with session_destroy.

    if you just want to know how to safely...
  25. Replies
    15
    Views
    1,998

    Re: Debugging debugging

    well.. there are several debuggers available for php.
    some requite installation as server module some not.

    for example go to www.zend.com and search for php debugger. its free, but has to be...
Results 1 to 25 of 669
Page 1 of 27 1 2 3 4





Click Here to Expand Forum to Full Width

Featured