I am new to this and would be grateful if someone can help me out here.
I am trying to recreate the entity classes in Java to JavaScript because of a project requirement.
One question that remains is how to recreate the association or dependencies between the Java entities in JavaScript.
For example. Lets say I created an entity employee with the following fields
Employee: eId, eName, rId(Associated with the rId of Role Entity) Role: rId, rName.
Now how to do the same with JavaScript creating two file employee.js and role.js ?