I want to store password in encrypted format so it is not readable for other user. my tomee.xml file contains
<Resource id="jdbc/myrootdb" type="DataSource"> JdbcDriver com.mysql.jdbc.Driver JdbcUrl jdbc:mysql://localhost:3306/test UserName root Password root JtaManaged false InitialSize 50 MaxActive 10 MaxIdle 3 </Resource> I am using apache-tomee-jaxrs-1.5.2.