Ideas on client/operator application design
In 5 months I developed an application that is used by two classes of users - clients and operators (it's a helpdesk application).
At the moment, the code is inside one single netbeans application. I use spring, spring mvc, spring security, hibernate and tiles.
Clients and operators have different login forms and different web forms. It was quite difficult to make things work with spring security (the two login forms and other stuff).
I was thinking maybe it would be a good idea to make it two applications - ie to split the application into two parts because it would make a lot of things easier.
But now I realized there are parts of code (for example definitions of the business classes and hibernate mappings) that would have to be somehow shared.
So now I am confused. How do I deal with this?
What's your experience?
Thank you in advance for your ideas.