webspere-->oc4j,tomcat.weblogic這個和java's crossing platform有甚麼關係,you can modify a little source code,and you will move the application to another platform.but exist something different between big companies example sun microsystem.IBM,there are many standard in the java field.so you have to modify the source code to fit on the the Web Services Server.
--一方面可以让编程者直接使用各个厂商的xml parser
--一方面有jaxp用来规格这些parser使其有统一接口以方便use anywhere
--再者提供了jdom使得dom更加具有java的气质我们不能因为自己编写的代码不能移植,就断定java不是跨平台的,而应该努力使自己的代码更容易移植
如果涉及到界面的话,问题挺多。当年调Java程序在98和NT下面都不一样,气得我半死,现在不知怎样了。
不过拿来做EJB,确实和平台关系不大了。当然和EJB平台还不是一点关系没有,比其他语言好多了。
不要把语言的跨平台和程序的跨容器搞混了。