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?
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.
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.
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.
If a thing's worth doing, it is worth doing badly.
-- G.K. Chesterton
Hmm... (Score:0)
Re:Hmm... (Score:0)
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 debugg
Re:Hmm... (Score:0)
I'll repweat the question - is there any feasible way of implementing typical J2EE projects in C++ instead of Java?
Re:Hmm... (Score:2, Insightful)
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!).
Re:Hmm... (Score:0)
Re:Hmm... (Score:0)
Re:Hmm... (Score:1)