FAQ: How to Redesign PHP Website to Java
Design is a concept of engineering or arts, which means that you do not really design using Java. Java is used for coding for the client-side, so it is pointless since there will be different codes for each program. The functionality of both is different from each other too.
To give you an overview, the differences between both will be tackled here.
PHP Website vs Java