javax.swing contains Desktop controls such as JTextArea, JTextBox, are any of these controls available as server side controls within J2EEE? For example, is it typically possible to have a textbox on the client's browser with validations (perhaps written in JS or within Java Applet) that are replicated on the server side? The server side logic would include the application logic, web services and so on (which I am aware is feasible with J2EE).
Is it possible to create user control, in a similar fashion to other frameworks that allow the developer to implement client-server applications?