Java EE 6 Platform Draft Published 74
synodinos writes "The public draft of the Java EE 6 Platform specification has been published and will remain open for public review and feedback until the 23rd of Feb, 2009. Perhaps the most notable part of this delayed draft is the Web Profile, which is first profile in the history of the Java EE platform. The draft is available for download and contains both the Java EE 6 Spec and the Web Profile Spec. There is a poll running at java.net regarding what the community thinks about the new spec. Although participation is yet rather small the results tend to show that the released draft did not cause any excitement."
Java.net (Score:5, Funny)
that's got to be sacrilege?
JEE 6? (Score:3, Insightful)
I'll settle for 5 at this point. My shop is still using 1.4.2; it feels like I should be writing code on stone tablets! I suspect this is the case in any number of Java shops and it just reinforces the idea that Java is going to become the new COBOL. There is so much "legacy" code out there right now, and because of the inconsistencies between versions I can't see it going away any time soon.
Re: (Score:2, Interesting)
but the java ee kits have reference implementations with a certain jdk, for ee 5 it was java 6 update 11.....can one really take a java 1.2 sdk and implement a java 6 ee server api?
Re:JEE 6? (Score:5, Informative)
Re: (Score:3, Insightful)
Java 6 has been out for a long time.
This is about Java EE. The spec that application servers implement (EJB, etc). Not the JVM version.
Yeah, well here's an insightful and funny comment [slashdot.org] on (I assume) J2EE:-
My hatred of Java has nothing to do with speed. The platform has become a giant morass of 'enterprisey' 'solutions' that create more need for more 'solutions'. And all Java 'solutions' must somehow involve XML, because it's standard, and enterprisey.
Re: (Score:1)
There may be some great software out there that runs super fast and bug free, but I'll never know, don't want to know.
Yes, because all software written in other languages is super fast and bug free.
Re: (Score:2)
You've responded to an assertion I did not make. Is that because my actual assertion(s) cannot be rebutted? Or do you think people reading this will fail to spot the obvious logical disconnect between your comment and mine?
Re:JEE 6? (Score:4, Informative)
Pick your poison... I'm a java developer, and the first applications I grab (when there are more then one available for the "problem") is one built in Java.
Re: (Score:3, Funny)
There's one glibc.
Re: (Score:2)
There's one glibc.
Funny, I was just reading this today: Glibc hell [mail-archive.com]
Re: (Score:2)
You found a glibc version dependency and you think that means there's more than one glibc?
Re: (Score:2)
You responded to somebody complaining about versions of Java. I'm not really sure what your actual complaint was about "flavors" of Java. You know glibc is just one flavor of a library for C used by GNU's C compiler (itself just a "flavor" of C), and there are many versions of it. My experience with Java has been just to get it from Sun and it works about as well as any other library dependency.
Re: (Score:2)
It's unfortunate but it may be best for your company if stability means more than new features an it's that way with any language.
Re: (Score:3, Interesting)
My current employer has outsourced nearly all of their IT and software development to IBM.
IBM itself estimated the cost of migrating and regression testing all server side software from Websphere 5.x to 6.0 (which will support J2EE 1.4, not Java EE 5) was deemed so prohibitively high, that they instead offered to extend support for the officially discontinued Websphere 5.x.
Supporting multiple versions at the same time, during a long transition period would increase operating cost significantly. I will be su
Re: (Score:3, Interesting)
Interestingly, IBM is also the company who provides a working Java 6 on PPC/Linux for years, years before Apple supported J2SE 6 on Intel (64bit Intel only).
Currently, if your need to run Java 6 on PPC, your only chance is installing a PPC Linux (not sure about BSD) and run IBM Java on it. I also keep wondering how the heck Apple doesn't call their old friends at IBM and borrow some code to fix the scandal of no Java 6 on PPC OS X.
Some wings of IBM are very old fashion but some aren't. Perhaps the enterpris
Re: (Score:2)
Currently, if your need to run Java 6 on PPC, your only chance is installing a PPC Linux (not sure about BSD) and run IBM Java on it.
It probablly is your best bet for the moment.
The good news is that openjdk with the patches from icedtea does run on powerpc and afaict work is progressing reasonablly well on getting a FOSS JIT written for it.
Re: (Score:2)
Sean Kelly has previously stipulated that Java has become the COBOL of the 21st century. (See his webcast about 'Better Web App Development'.)
That looks to be from 2007. This "Java is the new COBOL" has been going around for a lot longer:
http://oreilly.com/pub/a/oreilly/editors/java_1004.html [oreilly.com]
The State of Java
Edited by chromatic
October 2004
"Has the big business-friendly approach turned Java into the new COBOL?"
Re: (Score:1, Insightful)
Java is much much more than the new COBOL. COBOL will be dwarfed by Java when it comes to legacy. Think of it: COBOL was never the language used for the very first programming courses. While Java has the particularity to be both widely used in academic circles and in the Real World [TM].
FedEx, GMail, eBay. All the biggest websites are powered by Java.
We've seen examples of "smart" websites designed by "smart" dudes in a garage using "smart" languages that then couldn't scale and had to be re-written in
Not surpisingly, uninteresting (Score:5, Interesting)
From TFA:
There is a poll running at java.net regarding what the community thinks about the new spec...
I like it 12.1%
I think the main spec is missing important JSRs 3%
I think the web profile spec is missing important JSRs 6%
I don't like it for some other reason 6%
I haven't read it, but plan to 9%
I haven't read it, and don't plan to 63.6%
Well, most people never read the specs (that are normally boring and with a lawyer-like style) but most Sun specs appear to being ignored because of bad timing for appearance (usually too late.) The "hot thing" are mostly the open source frameworks, from which Sun ends copying at the end.
The same is happening, albeit radically, in the Mobile editions with Android, despite the Sun auto-acclaimed ubiquity of Jave ME.
Re: (Score:1, Insightful)
Specifications are not there to innovate, but to define a common set of standards which are meant to be used by different vendors. So copying ideas from open source frameworks are not a bad idea : if you set a standard, wou
Re: (Score:2)
>> Specifications are not there to innovate, but to define a common set of standards which are meant to be used by different vendors.
Tell it to Sun, that way they would never have a business.
Re: (Score:3, Interesting)
Or if you look at the current poll numbers and not what it was when the article was first written
I like it 28.2% (26 Votes)
I think the main spec is missing important JSRs 6.5% (6 Votes)
I think the web profile spec is missing important JSRs 4.3% (4 Votes)
I don't like it for some other reason 4.3% (4 Votes)
I haven't read it, but plan to 14.1% (13 Votes)
I haven't read it, and don't plan to 42.3% (39 Votes)
Something else (please comment) (0 Votes)
Total Votes: 92
See some things take ti
Look at my face - is it bothered? (Score:5, Insightful)
I've been leading the development of Java applications for around 8 years. On that journey, I have used fewer and fewer features of it with each succesive project.
Nowadays, it seems that specs are a kind of summary of what has been learned from the frameworks which were created in the trenches by people that actually needed to deliver.
My latest project, which has been in development for around 1 year, delivers as a plain web application, and uses Hibernate, Google Guice, AspectJ and Echo3.
It's wonderful.
Sun don't have the capability, and I'm not sure that anyone has, to provide a full and relevant specification that will allow code to be developed that will run on any application server from any vendor.
Instead, choose your implementations and go back to good old OO basics to design interfaces behind which to hide those implementation choices. You don't need Sun to do that for you.
Re: (Score:2)
Sun don't have the capability, and I'm not sure that anyone has, to provide a full and relevant specification that will allow code to be developed that will run on any application server from any vendor.
And that's why end users groan when a good idea gets written in java.
I disagree with your assessment of Java (Score:3, Interesting)
Java is a great platform that gives excel
Sigh... (Score:2)
Sigh... Was it not clear I was going for funny? Or was my joke that offensive? :(
Re: (Score:2)
Look, every defense of java I see is from developers and that defense is ostensibly about developing in java. How about considering how much it sucks for end users and admins who have to manage all this stuff?
Sure, just about every kid that graduated in the last 5 years knows java, I understand why there's so many java developers, but ffs with so many of you you'd think you'd be able to get together, pick one and say THIS is java.
No joke, I've seen devs in the same shop that struggle all day trying to get
Re: (Score:1)
That's nice. So it runs in the web container. By the way: Which web container do JBoss and Glassfish use? So it's only two different runtimes, isn't it. The compatibility nightmares come when you integrate your Java application in a typical enterprise setup. With SAP, CICS or IMS/DC, FileNet, ICR/OCR Servers, legacy C and C++ applications, .Net, WebSphere MQ and lots other stuff.
Re:Look at my face - is it bothered? (Score:5, Interesting)
I've never seen a serious commercial product shipped independently of an application server. I've always though of an application server to be more of a framework. As a product author/vendor, I make choices about which application server best serves my product. Then I build around it. When I sell to end users, I either enter into some kind of licensing/support agreement with the application vendor, or I require the end user to purchase licenses and support themselves.
The spec exists so that developers can write components that can interoperate with various application servers. For example, I can write a data connector for a proprietary mainframe application and use JCA to include that in distributed XA transactions. That resource adaptor can be used on virtually any application server, but the way it is deployed and configured will differ.
Or I might write a custom JAAS LoginModule to support some kind of proprietary authentication requirements. Again, the ability to integrate into an application server is undisputed, thanks to the specifications, but the mechanisms by which it is integrated is left to the implementor.
To support full drop-in interoperability, Sun would have to control all of the details of deployment and configuration, and then there goes competition. Everyone would just grab a copy Glassfish and rebrand it, because how then would you innovate?
As a developer I'm glad that there are differences in application servers. The various classloading strategies, configuration interfaces, and monitoring tools ensure healthy competition and innovation. And if something becomes ubiquitous (or problematic enough) then it gets added to the standard. (EJB3 is largely Spring+Hibernate, standardized, and Seam+Facelets is on its way to standardization through JSF 2 and WebObjects.)
One last thing. I've worked in shops that ran Tomcat plus a few third party libs (i.e. Struts and Hibernate), and I've worked in shops that have used the full JEE stack. In the former, we had infrequent but persistent problems with transactions (lost updates, etc.) that required implementing a lot of proprietary transaction management code. Using the full JEE stack you have things like JTA and JPA that manage locking for you, which can be painful if you don't know what you're doing. But it forces you to deal with real issues rather than pretending they don't exist, which is a must for true enterprise applications. The same can be said for resource pooling, security, managing web sessions and conversations, and many other issues.
There are server-independeds apps (Score:3, Interesting)
I've never seen a serious commercial product shipped independently of an application server.
It depends on definition of 'serious' of course, but I was working for a company producing software for airline operations (briefing/loading, no booking nor avionics/realtime). We had number of clients, including some really big names in Europe. Software was written in J2EE and it was used on 2 different application servers, on 2 different databases (3 combinations in total) - only because companies we were supporting were mostly standarized on Websphere, so there was no need to test it on more. There is NO
Re: (Score:2)
I realize this is a troll, but I'll bite. I've used .NET and I was very impressed with the visual design tools. The ASPX + codebehind setup was very intuitive and powerful, and the DnD/WYSIWYG interface worked well and as expected. I also loved C# (which is vastly superior to Java, IMO), especially the notion of properties, events, and expression execution (the former of which are an improvement over the pre-existing JavaBeans spec, but the latter of which was innovative and copied poorly in Java Unified
Re: (Score:1)
Re: (Score:2)
The shops that ran Tomcat generally used JDBC or some in-house persistence framework. In either case, there were no facilities for dirty checking or optimistic locking. So if user A loads an object into his session and modifies it; and user B loads the same object into her session and modifies it, then the changes made by whomever commits first are lost. Small shops generally ignore this problem as it happens infrequently enough to warrant serious development time, and usually end users catch the error a
Re: (Score:1)
(...) through JSF 2 and WebObjects.
To be a little pedantic: the name was Web Beans; WebObjects is Apple's framework. JSR-299 now has the oh so sexy name: Java Contexts and Dependency Injection [relation.to].
Re: (Score:2)
Yes, thank you for the correction.
Re: (Score:2)
Well, I've been leading development of various applications done mostly in Java for the past 11 years, and I wouldn't use Hibernate, Google Guice, AspectJ and Echo3 in any of them, though sometimes we end up using some of it. I often end up removing these and other technologies from the messy projects that are passed to me after the original team is done f.cking around with them.
Kudos to the JCP (Score:5, Interesting)
It might be slow but it has been very successful. Sure many specs never saw the light of day. That is to be expected from every committee.
Like it or not, Java is king on the enterprise server-side. J2EE sucked at the beginning but successive versions addressed many issues required by the enterprise. Persistence (Hibernate, Toplink), transactions and messaging (JMS) and the many available and free implementations. Thank you Sun for sticking with the JCP. Standards are wonderful.
We have an ASP platform built on J2EE 5.0 handling hundreds of millions of transactions a day all on a free stack thanks for the JCP and Linux.
I will duck now since this is /. home of the anti-Java.
Re: (Score:2)
You are right. However, with EJB 3.0 most if not all of the XML is gone. EJB2.0 was a disaster. The JSF and friends will benefit greatly from your point. XML is annoying.
Re: (Score:1, Insightful)
Annotations aren't the biggest improvement of EJB3. It's "Convention over Configuration". A good convention to minimize configuration for trivial cases is the jackpot.
Now it will take a few more years until they reach a standard as productive as Grails.
Re: (Score:2, Funny)
I will duck now since this is /. home of the anti-Java.
Actually it's the home of anti M$. So you should be ducking on the mention of ASP not Java.
Re: (Score:2)
That makes more sense cause ASP env's just don't scale :)
Re: (Score:3, Interesting)
Most of people doesn't get the "EE" (enterprise edition) in the article and comments on story like hitting a poor java applet/application on desktop while they have never seen/worked on enterprise environment. It happens to any Enterprise/non general thing mentioned on slashdot.
As far as I know, J2EE is the actual thing which saved the mainframes and near all finance industry runs on it.
I bet if some article posted regarding (true or not) .NET enterprise features, it would get comments like "but .net is 990
Java EE Irrelevant? (Score:2, Insightful)
no its not (Score:1)
Re: (Score:1)
JDBC is part of JSE.
Personal Anecdote (Score:1)
I work at the MegaMegaCorporation in IT and we were "tasked" to "implement" a "departmental solution". I.E. we were told to write an app for a small bunch o' end users. The app we came up with used Java, Hibernate, Guice (for DI), Spring (for JMS) and Apache. Since we were in the Java world we had a huge range of OSS thingys we could plug into our app that did a whole bunch o' kewel things easily.
+1 for Java - all the widely available thingys
Then, as is usual at