So now i'm trying to implement it using annotation. Its very straight forward actually, since the concept is very familiar. Even the autologin concept is very familiar. But of course he's doing it far better and classier than me and i think i will change it too :)
Jumpstart uses system properties to set the autologin properties, while I implement in the code. Since the system properties wouldn't be available when i deploy my apps to the server. I don't have to worry about forgetting to reset the autologin properties when i want to deploy my apps to the server.
To set the system properties in eclipse wtp, you just
- go to the server window > right click > open
- in the bottom of general information > click open launch configuration
- select the arguments tab, and in the vm argument box add
- -Dmyapp.autologin="true"
- restart your server
~FD
No comments:
Post a Comment