Flash has MXML and Microsoft ha开发者_StackOverflows XAML.
What markup languages does Java have?
XAML and MXML are UI markups for WPF and Flex. The equivalent Java tool is JavaFX. With that Sun took a different approach and choose to implement a declarative scripting language - JavaFX Script - rather than use an extension to XML.
Any markup language can be interpreted by any language or platform capable or parsing text. This depends on the application, and this in fact the benefit of the markup language in the first place - neutrality of the implementor. I think your question is not entirely correct. There are trillions of projects and products using markup in java.
精彩评论