I understand that Vaadin uses some logic to expose the UI code, and then calls the server to access the code through Javascript. However, let's say that I have Listener, for example, with some code that references other classes. So, let's say I have something like:
PojoClass data = DatabaseClass.getDataFromDatabase();
doSomeProcessingOnData(data);
..
myTextField.setValue(data.getSomeValue());
..
Now, how can I be sure that the code is DatabaseClassnot displayed as Javascript. I suppose this happens, but more specifically, how can you say that a method doSomeProcessingOnData(data)that can have calls to say that 4-5 different classes that have some internal IP property are not affected? I understand what PojoClasswill be displayed, but I do not want the internal objects to doSomeProcessingOnData(data)be displayed.
source
share