Can I use java helper classes (that connect to a database and retrive data) inside LHS and RHS in order to achive some business requirements.