Java is used to develop platform independent software’s. Both client and server-side applications can be developed using Java technology. The server-side implementation of Java is widely used while client-side implementations are not widely used due to its large file size and heavy installations. Flex is a widely used solution by Java developers as it enables developers to develop rich interactive interfaces with Java on the server-side.
· Java Applets can be used to provide interactive web features similar to Flex application. But Flex applications are much easier to deploy using lightweight Flash Players.
· Java can be used on server-side to create web services which can be consumed by Flex applications on client-side.