Loading ...
Sorry, an error occurred while loading the content.

RE: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden on "Velocity: An Open Source Templating Solution"

Expand Messages
  • Hal Richman
    Aloha, Could some please send me Anthony e-mail address. I would like to ask him some questions re: RUBY. Hal Richman _____
    Message 1 of 17 , Sep 1, 2005
    View Source
    • 0 Attachment

      Aloha,

       

          Could some please send me Anthony e-mail address.  I would like to ask him some questions re: RUBY.

       

      Hal Richman


    • Anthony Eden
      My email address is anthonyeden@gmail.com -Anthony
      Message 2 of 17 , Sep 1, 2005
      View Source
      • 0 Attachment
        My email address is anthonyeden@...

        -Anthony

        On 9/1/05, Hal Richman <hrichman@...> wrote:
        >
        >
        >
        > Aloha,
        >
        >
        >
        > Could some please send me Anthony e-mail address. I would like to ask
        > him some questions re: RUBY.
        >
        >
        >
        > Hal Richman
        > ________________________________
        >
        >
        >
        > ________________________________
        > YAHOO! GROUPS LINKS
        >
        >
        > Visit your group "honolulu-java-meetup" on the web.
        >
        > To unsubscribe from this group, send an email to:
        > honolulu-java-meetup-unsubscribe@yahoogroups.com
        >
        > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
        >
        > ________________________________
        >
      • Hal Richman
        Perhaps my question should be asked in the group. Does Ruby on Rails support MySQL sql s? Hal ... From: honolulu-java-meetup@yahoogroups.com
        Message 3 of 17 , Sep 1, 2005
        View Source
        • 0 Attachment

          Perhaps my question should be asked in the group.  Does Ruby on Rails support MySQL  sql’s?

           

          Hal

           

          -----Original Message-----
          From: honolulu-java-meetup@yahoogroups.com [mailto:honolulu-java-meetup@yahoogroups.com] On Behalf Of Anthony Eden
          Sent: Thursday, September 01, 2005 10:02 AM
          To: honolulu-java-meetup@yahoogroups.com
          Subject: Re: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden on "Velocity: An Open Source Templating Solution"

           

          My email address is anthonyeden@...

          -Anthony

          On 9/1/05, Hal Richman <hrichman@...> wrote:


          >
          > Aloha,
          >
          >  
          >
          >     Could some please send me Anthony e-mail address.  I would like to ask
          > him some questions re: RUBY.
          >
          >  
          >
          > Hal Richman
          >  ________________________________



          >  ________________________________
          >  YAHOO! GROUPS LINKS


          >  Visit your group "honolulu-java-meetup" on the web.
          >  
          >  To unsubscribe from this group, send an email to:
          >  honolulu-java-meetup-unsubscribe@yahoogroups.com
          >  
          >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

          >  ________________________________
          >

        • Seth Ladd
          ... Better than any other DB, imho. You re very safe with MySQL. Seth
          Message 4 of 17 , Sep 1, 2005
          View Source
          • 0 Attachment
            On 9/1/05, Hal Richman <hrichman@...> wrote:

            Perhaps my question should be asked in the group.  Does Ruby on Rails support MySQL  sql's?



            Better than any other DB, imho.  You're very safe with MySQL.

            Seth
             


          • Hal Richman
            Would anyone have a example code of RUBY interacting with MYSQL? Hal ... From: honolulu-java-meetup@yahoogroups.com
            Message 5 of 17 , Sep 1, 2005
            View Source
            • 0 Attachment

              Would anyone have a example code of RUBY interacting with MYSQL?

              Hal

               

              -----Original Message-----
              From: honolulu-java-meetup@yahoogroups.com [mailto:honolulu-java-meetup@yahoogroups.com] On Behalf Of Seth Ladd
              Sent: Thursday, September 01, 2005 11:49 AM
              To: honolulu-java-meetup@yahoogroups.com
              Subject: Re: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden on "Velocity: An Open Source Templating Solution"

               

               

              On 9/1/05, Hal Richman <hrichman@...> wrote:

              Perhaps my question should be asked in the group.  Does Ruby on Rails support MySQL  sql's?



              Better than any other DB, imho.  You're very safe with MySQL.

              Seth
               

               



            • Sam Joseph
              Hal, Check out this introductory article: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html I believe you will find all you need. I just ran through it
              Message 6 of 17 , Sep 1, 2005
              View Source
              • 0 Attachment
                Hal,

                Check out this introductory article:

                http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html

                I believe you will find all you need. I just ran through it myself -
                there are a couple of errors in the article, but the power of ror shines
                through.

                CHEERS> SAM



                Hal Richman wrote:

                > Would anyone have a example code of RUBY interacting with MYSQL?
                >
                > Hal
                >
                >
                >
                > -----Original Message-----
                > *From:* honolulu-java-meetup@yahoogroups.com
                > [mailto:honolulu-java-meetup@yahoogroups.com] *On Behalf Of *Seth Ladd
                > *Sent:* Thursday, September 01, 2005 11:49 AM
                > *To:* honolulu-java-meetup@yahoogroups.com
                > *Subject:* Re: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden
                > on "Velocity: An Open Source Templating Solution"
                >
                >
                >
                >
                >
                > On 9/1/05, *Hal Richman* <hrichman@...
                > <mailto:hrichman@...>> wrote:
                >
                > Perhaps my question should be asked in the group. Does Ruby on Rails
                > support MySQL sql's?
                >
                >
                >
                > Better than any other DB, imho. You're very safe with MySQL.
                >
                > Seth
                >
                >
                >
                >
                >
                >
                >
                > ------------------------------------------------------------------------
                > YAHOO! GROUPS LINKS
                >
                > * Visit your group "honolulu-java-meetup
                > <http://groups.yahoo.com/group/honolulu-java-meetup>" on the web.
                >
                > * To unsubscribe from this group, send an email to:
                > honolulu-java-meetup-unsubscribe@yahoogroups.com
                > <mailto:honolulu-java-meetup-unsubscribe@yahoogroups.com?subject=Unsubscribe>
                >
                > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
                > Service <http://docs.yahoo.com/info/terms/>.
                >
                >
                > ------------------------------------------------------------------------
                >
              • Hal Richman
                Thanks! ... From: honolulu-java-meetup@yahoogroups.com [mailto:honolulu-java-meetup@yahoogroups.com] On Behalf Of Sam Joseph Sent: Thursday, September 01, 2005
                Message 7 of 17 , Sep 1, 2005
                View Source
                • 0 Attachment

                  Thanks!

                   

                  -----Original Message-----
                  From: honolulu-java-meetup@yahoogroups.com [mailto:honolulu-java-meetup@yahoogroups.com] On Behalf Of Sam Joseph
                  Sent: Thursday, September 01, 2005 6:25 PM
                  To: honolulu-java-meetup@yahoogroups.com
                  Subject: Re: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden on "Velocity: An Open Source Templating Solution"

                   

                  Hal,

                  Check out this introductory article:

                  http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html

                  I believe you will find all you need.  I just ran through it myself -
                  there are a couple of errors in the article, but the power of ror shines
                  through.

                  CHEERS> SAM



                  Hal Richman wrote:

                  > Would anyone have a example code of RUBY interacting with MYSQL?
                  >
                  > Hal
                  >

                  >
                  > -----Original Message-----
                  > *From:* honolulu-java-meetup@yahoogroups.com
                  > [mailto:honolulu-java-meetup@yahoogroups.com] *On Behalf Of *Seth Ladd
                  > *Sent:* Thursday, September 01, 2005 11:49 AM
                  > *To:* honolulu-java-meetup@yahoogroups.com
                  > *Subject:* Re: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden
                  > on "Velocity: An Open Source Templating Solution"
                  >

                  >

                  >
                  > On 9/1/05, *Hal Richman* <hrichman@...
                  > <mailto:hrichman@...>> wrote:
                  >
                  > Perhaps my question should be asked in the group.  Does Ruby on Rails
                  > support MySQL  sql's?
                  >
                  >
                  >
                  > Better than any other DB, imho.  You're very safe with MySQL.
                  >
                  > Seth

                  >

                  >
                  >
                  >
                  >
                  > ------------------------------------------------------------------------
                  > YAHOO! GROUPS LINKS
                  >
                  >     *  Visit your group "honolulu-java-meetup
                  >       <http://groups.yahoo.com/group/honolulu-java-meetup>" on the web.
                  >       
                  >     *  To unsubscribe from this group, send an email to:
                  >        honolulu-java-meetup-unsubscribe@yahoogroups.com
                  >       <mailto:honolulu-java-meetup-unsubscribe@yahoogroups.com?subject=Unsubscribe>
                  >       
                  >     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
                  >       Service <http://docs.yahoo.com/info/terms/>.
                  >
                  >
                  > ------------------------------------------------------------------------
                  >



                • Anthony Eden
                  Hal, Take a look at the tutorials on the rubyonrails.com site. Most of the RoR tutorials assume MySQL. You don t really have to do anything special, in your
                  Message 8 of 17 , Sep 1, 2005
                  View Source
                  • 0 Attachment
                    Hal,

                    Take a look at the tutorials on the rubyonrails.com site. Most of the
                    RoR tutorials assume MySQL. You don't really have to do anything
                    special, in your database.yml your adapter will be mysql (which is the
                    default specified when you generate your Rails app) and then you use
                    ActiveRecord objects without consideration of the underlying database.

                    -Anthony

                    On 9/1/05, Hal Richman <hrichman@...> wrote:
                    >
                    >
                    >
                    > Would anyone have a example code of RUBY interacting with MYSQL?
                    >
                    > Hal
                    >
                    >
                    >
                    > -----Original Message-----
                    > From: honolulu-java-meetup@yahoogroups.com
                    > [mailto:honolulu-java-meetup@yahoogroups.com] On Behalf Of
                    > Seth Ladd
                    > Sent: Thursday, September 01, 2005 11:49 AM
                    > To: honolulu-java-meetup@yahoogroups.com
                    > Subject: Re: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden on
                    > "Velocity: An Open Source Templating Solution"
                    >
                    >
                    >
                    >
                    >
                    >
                    > On 9/1/05, Hal Richman <hrichman@...> wrote:
                    >
                    >
                    > Perhaps my question should be asked in the group. Does Ruby on Rails
                    > support MySQL sql's?
                    >
                    >
                    >
                    >
                    > Better than any other DB, imho. You're very safe with MySQL.
                    >
                    > Seth
                    >
                    >
                    >
                    >
                    >
                    >
                    >
                    >
                    > ________________________________
                    > YAHOO! GROUPS LINKS
                    >
                    >
                    > Visit your group "honolulu-java-meetup" on the web.
                    >
                    > To unsubscribe from this group, send an email to:
                    > honolulu-java-meetup-unsubscribe@yahoogroups.com
                    >
                    > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
                    >
                    > ________________________________
                    >
                  • Hal Richman
                    I checked out the sites, but I think now maybe I did not install everything yet. I download the one-click-installer ruby 182-15.exe. Do I now need to use the
                    Message 9 of 17 , Sep 1, 2005
                    View Source
                    • 0 Attachment

                      I checked out the sites, but I think now maybe I did not install everything yet.  I download the one-click-installer ruby 182-15.exe.  Do I now need to use the RubyGems to install rails?  Or did rails install with one-click?

                       

                      Hal

                       


                      From: honolulu-java-meetup@yahoogroups.com [mailto: honolulu-java-meetup@yahoogroups.com ] On Behalf Of Anthony Eden
                      Sent: Thursday, September 01, 2005 6:30 PM
                      To: honolulu-java-meetup@yahoogroups.com
                      Subject: Re: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden on "Velocity: An Open Source Templating Solution"

                       

                      Hal,

                      Take a look at the tutorials on the rubyonrails.com site. Most of the
                      RoR tutorials assume MySQL. You don't really have to do anything
                      special, in your database.yml your adapter will be mysql (which is the
                      default specified when you generate your Rails app) and then you use
                      ActiveRecord objects without consideration of the underlying database.

                      -Anthony

                      On 9/1/05, Hal Richman <hrichman@...> wrote:


                      >
                      > Would anyone have a example code of RUBY interacting with MYSQL?
                      >
                      > Hal
                      >
                      >  
                      >
                      > -----Original Message-----
                      >  From: honolulu-java-meetup@yahoogroups.com
                      > [mailto: honolulu-java-meetup@yahoogroups.com ] On Behalf Of
                      > Seth Ladd
                      >  Sent: Thursday, September 01, 2005 11:49 AM
                      >  To: honolulu-java-meetup@yahoogroups.com
                      >  Subject: Re: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden on
                      > "Velocity: An Open Source Templating Solution"
                      >
                      >  
                      >
                      >  

                      >
                      > On 9/1/05, Hal Richman <hrichman@...> wrote:

                      >
                      > Perhaps my question should be asked in the group.  Does Ruby on Rails
                      > support MySQL  sql's?

                      >
                      >

                      >  Better than any other DB, imho.  You're very safe with MySQL.

                      >  Seth
                      >   
                      >
                      >  
                      >
                      >



                      >  ________________________________
                      >  YAHOO! GROUPS LINKS


                      >  Visit your group "honolulu-java-meetup" on the web.
                      >  
                      >  To unsubscribe from this group, send an email to:
                      >  honolulu-java-meetup-unsubscribe@yahoogroups.com
                      >  
                      >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

                      >  ________________________________
                      >

                    • Seth Ladd
                      ... I can definitely recommend the new Ruby on Rails book just published by the Pragmatic Programmers. It leads you through all of this, and it s an
                      Message 10 of 17 , Sep 1, 2005
                      View Source
                      • 0 Attachment
                        > I checked out the sites, but I think now maybe I did not install everything
                        > yet. I download the one-click-installer ruby 182-15.exe. Do I now need to
                        > use the RubyGems to install rails? Or did rails install with one-click?

                        I can definitely recommend the new Ruby on Rails book just published
                        by the Pragmatic Programmers. It leads you through all of this, and
                        it's an entertaining read.

                        http://www.amazon.com/exec/obidos/tg/detail/-/097669400X/103-9590929-1475863?v=glance

                        And to answer your question, yes, you have to install rails with gems.
                        The one click installer only put ruby on your system.

                        Seth
                      • Hal Richman
                        Thanks everyone for your help. I now have several references, purchased two books, and have actually accomplished some RUBY programming. Hal _____ From:
                        Message 11 of 17 , Sep 2, 2005
                        View Source
                        • 0 Attachment

                          Thanks everyone for your help.  I now have several references, purchased two books, and have actually accomplished some RUBY programming. 

                           

                          Hal

                           


                          From: honolulu-java-meetup@yahoogroups.com [mailto: honolulu-java-meetup@yahoogroups.com ] On Behalf Of Seth Ladd
                          Sent: Thursday, September 01, 2005 8:25 PM
                          To: honolulu-java-meetup@yahoogroups.com
                          Subject: Re: [java-meetup] HJUG Tonight! 6pm POST 302, Anthony Eden on "Velocity: An Open Source Templating Solution"

                           

                          > I checked out the sites, but I think now maybe I did not install everything
                          > yet.  I download the one-click-installer ruby 182-15.exe.  Do I now need to
                          > use the RubyGems to install rails?  Or did rails install with one-click?

                          I can definitely recommend the new Ruby on Rails book just published
                          by the Pragmatic Programmers.  It leads you through all of this, and
                          it's an entertaining read.

                          http://www.amazon.com/exec/obidos/tg/detail/-/097669400X/103-9590929-1475863?v=glance

                          And to answer your question, yes, you have to install rails with gems.
                          The one click installer only put ruby on your system.

                          Seth

                        • Sam Joseph
                          ***************************************************** ************** H J U G * M E E T I N G *****************
                          Message 12 of 17 , Sep 23, 2005
                          View Source
                          • 0 Attachment
                            *****************************************************
                            ************** H J U G * M E E T I N G *****************
                            *****************************************************

                            This month's HJUG meeting will take place on Wednesday 28th September
                            from 6pm to 8pm.

                            Check out the new web page:
                            http://discourse.ics.hawaii.edu/interaction/workspaces.php?workspace=5
                            Join the HJUG community: http://discourse.ics.hawaii.edu/home/register.php

                            ********** LOCATION INFORMATION **********

                            This month's meeting will be held in the POST building, room 302, at the
                            University of Hawaii Manoa campus.

                            http://www.hawaii.edu/cgi-bin/vtour?Manoa=l=POST

                            UoH parking information is here:

                            http://www.hawaii.edu/parking/visitorParking.html


                            ********** NEW MEETING AGENDA **********

                            The meeting's agenda is as follows:

                            6:00pm - 6:45pm "What's New and Exciting in Java 5" Main talk by Dan Leuck

                            6:45pm - 7:00pm Discussion

                            7:00pm - 7:15pm Pizza Break sponsored by Ikayzo http://www.ikayzo.com/

                            7:15pm - 7:45pm Pattern Workshop - Sam Joseph introduces the Adapter Pattern

                            7:45pm - 8:00pm Workshop discussion

                            The talk abstracts and speaker biographies are as follows:

                            Main Talk Title: What's New and Exciting in Java 5

                            Main Talk Abstract:

                            This presentation will cover new language features in Java 5 including
                            generics, covariance, annotations, enumerations, varargs, and the
                            enhanced for loop. Numerous real world examples will be provided. If we
                            have time, we will also discuss new APIs such as java.util.concurrent.

                            Main Talk Biography:

                            Daniel Leuck is the President of Ikayzo (http://www.ikayzo.com), a
                            boutique IT consulting firm specializing in enterprise software
                            development and offshore outsourcing. He previously served as Senior
                            Vice President of Research and Development for Tokyo-based
                            ValueCommerce, Asia's largest online marketing company, Global Head of
                            Development for London-based LastMinute.com, Europe's largest B2C
                            website, and President of the US division of DML. He has served on
                            numerous advisory boards and panels for companies such as Macromedia and
                            Sun. Daniel is active in the Java community, is the project lead for
                            SDL, a contributor to BeanShell, and a member of the Java 6 (JSR 270),
                            Units Specification (JSR 275), and Java Modules (JSR 277) expert groups.

                            Pattern Workshop: Adapter Pattern

                            Workshop Abstract:

                            Convert the interface of a class into another interface clients expect.
                            Adapter lets classes work together that couldn't otherwise because of
                            incompatible interfaces. If possible I'll try and distribute code
                            samples before we meet - fingers crossed.

                            http://home.earthlink.net/~huston2/dp/adapter.html

                            http://www.industriallogic.com/xp/refactoring/extractAdapter.html

                            http://www.industriallogic.com/xp/refactoring/interfacesWithAdapter.html
                          • Eraticus Majoricus
                            ... Now finally with 1.5 concurrency issues and examples can be written in Java instead of Perl or C. Mind you, I think it is an overdue addition to the Java
                            Message 13 of 17 , Sep 24, 2005
                            View Source
                            • 0 Attachment
                              > If we
                              > have time, we will also discuss new APIs such as java.util.concurrent.
                              >

                              Now finally with 1.5 concurrency issues and examples can be written in
                              Java instead of Perl or C. Mind you, I think it is an overdue addition
                              to the Java libraries, but it is a bit ironic that Java is adding
                              thread synchronization primitives as a library addition after
                              criticizing C for handing threads in a similar manner. C and Perl
                              programs have had read/write locks and separated condition variables
                              and mutexes since "before Linux". Java fought the good fight, but in
                              the end, its default synchronization mechs are too "Object Oriented".
                              And slow code is still slow on fast machines.

                              I've also noticed that Java seems to be allowing a more "Procedural"
                              style of programming via the importation of static members in 1.5. I'd
                              be curious to hear why this was considered necessary. There are enough
                              pure OO programmers out there, especially programmers who were raised
                              on OO. Why reach back to the "Proceduralists"? It makes porting C code
                              to Java much easier, but is that a strategic advantage?

                              In regards to the new concurrency libs in 1.5, I think it would be
                              especially interesting to compare thread syncing via object methods
                              and the new methods, or show how something is impossible or much less
                              elegant (read as quick) using syncro blocks and wait/notify's compared
                              to the new concurrency lib. A comparison/contrast to the POSIX lib
                              using C or Perl would also be very interesting.

                              Obviously, Dan doesn't have enough time for all of this! But it seems
                              worthy enough for a presentation. Especially since there is so much
                              talk about other languages, and Java stengths and weaknesses in
                              comparison.

                              Eric
                            • Daniel Leuck
                              Hi Eric, ... It was introduced because of the prevalent constants holder interface anti-pattern. In short, people would put all the constants they wanted to
                              Message 14 of 17 , Sep 24, 2005
                              View Source
                              • 0 Attachment
                                Hi Eric,

                                > I've also noticed that Java seems to be allowing a more "Procedural"
                                > style of programming via the importation of static members in 1.5. I'd
                                > be curious to hear why this was considered necessary.

                                It was introduced because of the prevalent constants holder interface
                                anti-pattern. In short, people would put all the constants they wanted to
                                access in multiple classes in an interface, and then implement the interface
                                to bring the constants into the classes' namespace.

                                You can even find this anti-pattern in the JDK!

                                See javax.swing.SwingConstants as an example.

                                The idea was to have just the required constants (or static methods)
                                imported to avoid muddying the namespace.

                                > There are enough
                                > pure OO programmers out there, especially programmers who were raised
                                > on OO. Why reach back to the "Proceduralists"? It makes porting C code
                                > to Java much easier, but is that a strategic advantage?

                                I'm not sure mix-ins (such as Java's static import) take us back to being
                                "procedural". You are always going to have a shared set of constants and
                                methods that crosscut class hierarchies.

                                > In regards to the new concurrency libs in 1.5, I think it would be
                                > especially interesting to compare thread syncing via object methods
                                > and the new methods, or show how something is impossible or much less
                                > elegant (read as quick) using syncro blocks and wait/notify's compared
                                > to the new concurrency lib. A comparison/contrast to the POSIX lib
                                > using C or Perl would also be very interesting.
                                >
                                > Obviously, Dan doesn't have enough time for all of this! But it seems
                                > worthy enough for a presentation.

                                Absolutely! It would be great to have a whole presentation on this subject.
                                I think you would be better qualified to contrast these technologies as I am
                                certainly not an expert on subjects such as POSIX or Perl.

                                Cheers,
                                Dan
                              • Seth Ladd
                                ... It would be great to have a back-to-back talk. First JDK 5, and the it s concurrent utils, which is a nice segue into comparisons with POSIX threading
                                Message 15 of 17 , Sep 24, 2005
                                View Source
                                • 0 Attachment
                                  > Obviously, Dan doesn't have enough time for all of this! But it seems
                                  > worthy enough for a presentation. Especially since there is so much
                                  > talk about other languages, and Java stengths and weaknesses in
                                  > comparison.

                                  It would be great to have a back-to-back talk. First JDK 5, and the
                                  it's concurrent utils, which is a nice segue into comparisons with
                                  POSIX threading libs.

                                  I'd definitely be up for a two parter.

                                  Seth
                                • Eraticus Majoricus
                                  ... subject. ... as I am ... [[ I m sure I m NOT the most knowledgable person on the subject. Everything I ever learned is from Steven s books, and anyone can
                                  Message 16 of 17 , Sep 25, 2005
                                  View Source
                                  • 0 Attachment
                                    > Absolutely! It would be great to have a whole presentation on this
                                    subject.
                                    > I think you would be better qualified to contrast these technologies
                                    as I am
                                    > certainly not an expert on subjects such as POSIX or Perl.
                                    >

                                    [[ I'm sure I'm NOT the most knowledgable person on the subject.
                                    Everything I ever learned is from Steven's books, and anyone can read
                                    those things. I would be willing to do it, but kind of gave up on
                                    public speaking after my last presentation. Only four people came! And
                                    it was a very sexy topic too (embedding the JVM). ]]

                                    It is very interesting how the concurrency classes are writen in Java
                                    though. Notice that it seems that the Atomic classes are getting
                                    DIRECT memory offsets of the native class representation? The backing
                                    object HAS to be volatile because it is modified in native memory
                                    directly, where the JVM would not be aware of its modification
                                    otherwise, even in the same thread.

                                    This technique is very fast compared to JNI, since class member access
                                    is programmed via functions and handles, never directly in JNI.
                                    However, it does NOT use the official portable C bindings into Java,
                                    and these "secret" functions are not published. I pity the fool that
                                    is assigned to port this code. To be honest, I think it should be done
                                    in a less opaque manner.

                                    It is also kind of an interesting admission--that to speed up
                                    concurrency, Java had to use direct memory access write, and not use
                                    either a) pure java, or b) JNI. I wonder where the bottleneck was to
                                    justify the addition of secret functions in the JVM? Can anyone make a
                                    request? :)

                                    Eric

                                    Former Programmer
                                  Your message has been successfully submitted and would be delivered to recipients shortly.