Slashdot Mirror


Apache Axis C++ v1.0 (Alpha) Released

BSD Forums writes "The Apache Axis team is proud to announce the release of Apache Axis C++ v1.0 (Alpha). This implementation of a C++ SOAP engine provides a stable platform for developing Web services using C/C++ as well as a client side library for developing C/C++ client applications. New features include SOAP engine with both client and server support; partial support for both SOAP 1.1 and SOAP 1.2; WSDD based deployment with dynamic deployment tools and more. Both binary and source are available at Apache mirror sites."

24 comments

  1. Add CORBA and you've fufilled SOAPs single purpose by GOD_ALMIGHTY · · Score: 4, Insightful

    Seriously, slap a CORBA orb on that puppy, embed it in Apache and shuffle the stuff you need exposed via SOAP back and forth over CORBA. Let the C/C++ engine do the nasty work of serializing/deserializing XML and let the Java backend concentrate on business logic.

    After you write this piece, we shouldn't ever have to write another bit of SOAP on the server end of things. SOAP requires all the understanding of distributed components while adding all the overhead of XML. Pure genius. Can someone please fill me in on why we don't use CORBA instead?

    SOAP isn't any easier, it's more bandwidth and computationally expensive. CORBA has much more mature services and is proven in mission critical apps. There are a ton of Open Source and commercial ORBs for every language and platform. Why are we using SOAP? Send IIOP over TLS over port 80 if you really, really need a hole in your firewall.

    --
    Arrogance is Confidence which lacks integrity. -- me
  2. Xerces? by Euphonious+Coward · · Score: 2, Insightful

    Please tell us that it doesn't depend on Xerces-C++. That would make the whole thing useless.

    1. Re:Xerces? by steve_l · · Score: 1

      It certainly needs an XML (SAX) parser; I dont know what its exact dependencies are. Axis Java is primarily tested on Xerces, crimson and the oracle one is trouble.

      One problem with SOAP is that it (especially doc/lit calls) depends very heavily on XML Schema rather than DTDs. As XSD is an overdesigned by committee nightmare, SOAP is very fussy about parsers.

  3. Re:Add CORBA and you've fufilled SOAPs single purp by musikit · · Score: 0

    Can someone please fill me in on why we don't use CORBA instead? because CORBA is a 20 year old word and XML is a 5 year old word which stands for worthless technology used to replace technology that was fast better and not broken to begin with. actually some feel that by using XML that they can be interoperable with anything out there. i can't wait for another 3-4 years to go by and what the development costs increases shown for using XML. maybe then people will back off of it.

  4. Hmm... by Anonymous Coward · · Score: 0

    I'm a C++ coder whoose boss needs him to go on a course to learn J2EE/JBoss for an upcoming project. The thing is, I'd much rather stick to C++ if I can - is there any feasible way of implementing typical J2EE projects in C++ instead of Java?

    1. Re:Hmm... by Anonymous Coward · · Score: 0

      dont be an idiot. C++ has waay less capability and is waay slower to write code for than Java.
      Java gives you : slow, portable code with easily defined business logic and clear design, even if youre an idiot and is fine for 100% of all programmers even if theyre idiots.

      C++ gives you : really fast, semi portable code with hacked on object support which can dissolve into a huge mess if youre an idiot, but otherwise is fine for the 10% of programmers who arent idiots.

      For idiots, crunching out code and debugging it is 400% faster than if those idiots were using C++.

    2. Re:Hmm... by Paladine97 · · Score: 1

      The first thing you state is 'don't be an idiot.' Then you go into a tyrade about how idiots need Java because they can't handle C++. So if you want the guy to not be an idiot, shouldn't he be using C++???

    3. Re:Hmm... by Anonymous Coward · · Score: 0

      Rubbish, as an experienced C++ coder, I don't make the sort of silly mistakes that Java was created to prevent.

      I'll repweat the question - is there any feasible way of implementing typical J2EE projects in C++ instead of Java?

    4. Re:Hmm... by thufir · · Score: 2, Insightful

      It depends on what parts of J2EE you are talking about. There are many pieces (Servlet, EJB, JDBC, JMS, etc...) that make up J2EE.

      If you just need to create a webservice, then this (Axis c++) is all you need.

      If you need your thing to run in an EJB or Servlet container, ie: your backend has to be J2EE, then you may be out of luck.

      You might want to consider the course (if it's free!).

    5. Re:Hmm... by Anonymous Coward · · Score: 0

      I just seem to have an aversion to Java - maybe it's the old hardcore macho-ness of me preferring C/C++, but I'd rather be coding a real machine...

    6. Re:Hmm... by Anonymous Coward · · Score: 0

      Use CCM. CCM is Corba Component Model. It's J2EE for other langaugages. That will give you EJB type functionality and JMS. It doesn't address any web related tech.

    7. Re:Hmm... by piobair · · Score: 4, Interesting

      Like another poster said, it depends on what part of J2EE you're talking about here. In general, J2EE components rely on containers (specific to the component) which do a lot of lifting for you.

      I'm unaware of any C/C++ implementation of an EJB container for instance. However with the Axis C/C++ implementation (notice I've segue'd back into the topic here), it opens up the possibility of a C/C++ client talking to a SOAP-wrapped J2EE server tier.

      I used to be a pretty heavy C++ guy back in the day. I've been doing almost exclusively Java for the last (gawd!) 7 or so years. I really don't miss C++ at all. Especially the maintenance headaches induced by implementations of large domain models. The larger the model the more it seemed to spin out of control with C++. It still has a tendency to spin out of control with Java, but not to the same degree.

      I could go on here, but I think I've said enough.

      --
      I have a second sig, I call it sig#2.
    8. Re:Hmm... by js290 · · Score: 1

      From my limited experience, it appears that servlets simply wrap cgi functionality into a nice little package. Why not consider using cgicc (http://www.gnu.org/software/cgicc/cgicc.html) for C++ applications.

      --
      "Tempers are wearing thin. Let's just hope some robot doesn't kill everybody." --Bender
    9. Re:Hmm... by steve_l · · Score: 1

      'J2EE' is a very loaded term. I would not point you near Enterprise Java Beans as despite the hype, they make little sense.

      Java Servlets are simple and easy to work with; you can get started with them and JSP pages (or Velocity) pretty simply.

      bite the bullet, go on, learn a bit of Java. It is easier than learning C++.

    10. Re:Hmm... by joss · · Score: 1

      Well, I came from your perspective a couple of years ago and had to go down J2EE route. I wish I hadn't but then again, I may well have had greater regrets if I had stuck with C++. EJB overhead is pretty horrendous but does provide locking, persistence, transactions, concurrency, caching, DB pooling, security, clustering.

      I dont think clustering would be necessary without huge overhead introduced by J2EE, but its no picnic either way.

      --
      http://rareformnewmedia.com/
  5. Apache Problems by Anonymous Coward · · Score: -1, Flamebait

    I don't want to start a holy war here, but what is the deal with you Apache fanatics? I've been sitting here at my freelance gig in front of a Apache box (a P4 2.4 w/1024 Megs of RAM, on an Qwest OC3) for about 20 minutes now while it attempts to copy a 17 Meg file from one directory on the hard drive to another user. 20 minutes. At home, on my Pentium Pro 200 running NT 4/IIS 4 (On a dual T1, no less!), which by all standards should be a lot slower than this Apache box, the same operation would take about 2 minutes. If that.
    In addition, during this file transfer, PHP will not work. And everything else has ground to a halt. Even mod_perl is straining to keep up as I type this.

    I won't bore you with the laundry list of other problems that I've encountered while working on various Apache machines, but suffice it to say there have been many, not the least of which is I've never seen a Apache box that has run faster than its Windows counterpart, despite the Apache machines faster chip architecture. My 486/66 cable modem router with 8 megs of ram runs faster than this 2400 mhz machine at times. From a productivity standpoint, I don't get how people can claim that Apache is a "superior" server.

    Apache addicts, flame me if you'd like, but I'd rather hear some intelligent reasons why anyone would choose to use a Apache over other faster, cheaper, more stable httpd daemons.

  6. Re:Add CORBA and you've fufilled SOAPs single purp by Anonymous Coward · · Score: 0

    because CORBA is a bloated piece of shit that had "bloat" "manager" "groupthink" and "committee" stamped into it. OIDs are the most ridiculous "workaround" imaginable and the ugly shit should die as fast as it can be buried.
    in contrast SOAP is really easy to code for, really really slow with huge bandwidth overhead and works fine. just like java. which is ok for 99.99% of us who code in the Real World(TM).

  7. Re:Add CORBA and you've fufilled SOAPs single purp by Anonymous Coward · · Score: 0

    So, this COBRA, its a kind of Jave?

  8. IIS sucks by L33tMafia187 · · Score: -1, Flamebait

    Netcraft confirms
    IIS is a poor competitor
    Get the best server OS
    Get Apache
    Everything will "just work"
    Really, trust me!

  9. Apache is dying by Anonymous Coward · · Score: -1, Flamebait
    It is now official - Netcraft has confirmed: *Apache is dying

    Yet another crippling bombshell hit the beleaguered *Apache community when recently IDC confirmed that *Apache accounts for less than a fraction of 1 percent of all servers. Coming on the heels of the latest Netcraft survey which plainly states that *Apache has lost more market share, this news serves to reinforce what we've known all along. *Apache is collapsing in complete disarray, as fittingly exemplified by failing dead last in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin to predict *Apache's future. The hand writing is on the wall: *Apache faces a bleak future. In fact there won't be any future at all for *Apache because *Apache is dying. Things are looking very bad for *Apache. As many of us are already aware, *Apache continues to lose market share. Red ink flows like a river of blood. FreeApache is the most endangered of them all, having lost 93% of its core developers. The sudden and unpleasant departures of long time FreeApache developers Jordan Hubbard and Mike Smith only serve to underscore the point more clearly. There can no longer be any doubt: FreeApache is dying.

    Let's keep to the facts and look at the numbers.

    OpenApache leader Theo states that there are 7000 users of OpenApache. How many users of NetApache are there? Let's see. The number of OpenApache versus NetApache posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetApache users. Apache/OS posts on Usenet are about half of the volume of NetApache posts. Therefore there are about 700 users of Apache/OS. A recent article put FreeApache at about 80 percent of the *Apache market. Therefore there are (7000+1400+700)*4 = 36400 FreeApache users. This is consistent with the number of FreeApache Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeApache went out of business and was taken over by ApacheI who sell another troubled OS. Now ApacheI is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that *Apache has steadily declined in market share. *Apache is very sick and its long term survival prospects are very dim. If *Apache is to survive at all it will be among OS hobbyist dabblers. *Apache continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, *Apache is dead.

    Fact: *Apache is dead

    1. Re:Apache is dying by Anonymous Coward · · Score: 0

      What is the point of that thing? Apache is still alive and as strong as ever.

  10. Re:Add CORBA and you've fufilled SOAPs single purp by PopCulture · · Score: 1

    no, my man, COBRA was a godsend to me and most my laid off friends.

    Consolidated Omnibus Budget Reconciliation Act of 1986

    and slightly off topic but there are people trying to end it...

    --

    Here's to finally giving Bush his exit strategy in November
  11. YHBT YHL HAND by Anonymous Coward · · Score: 0

    The hand writing is on the wall: *Apache faces a bleak future. In fact there won't be any future at all for *Apache because *Apache is dying.

  12. Re:Add CORBA and you've fufilled SOAPs single purp by dwsauder · · Score: 3, Informative
    Why not CORBA?

    CORBA, DCOM, Java RMI, .NET remoting, and similar technologies are tightly coupled and try to hide the network boundary. In contrast, the direction SOAP is headed is loose coupling with the network boundary explicit. This was all explained clearly in a talk from Don Box at the Microsoft PDC.

    If A is a service that is used by B, C, ..., Z, tight coupling means that if A is changed, then it breaks B, C, ..., Z. SOAP, when used in a smart way, means looser coupling, so that A can be updated without breaking the dependent apps. Therefore, for services that could potentially be used by a large number of applications, loose coupling is an absolute necessity.

    Hidden network boundaries mean that we don't plan to take the performance hit when a request must traverse a network boundary. With explicit network boundaries, the architect takes the performance hit into consideration. Requests that cross network boundaries have a large granularity, to lessen the performance impact of the network traversal.

    Search for some of Don Box's writings on the web for a better analysis of the direction of SOAP vs. the old object-oriented RPCs.