SMALL CONCEPT PROOF IN JAVA AOP (Aspect Oriented Programming )
If you are an expert in java and know AOP (AspectJ) this is a trivial project that will take just a few minutes.
Objective: I have a system (jdk7) running with hundreds of java classes and some operations are taking a long time to complete. I need any operation that takes more than 01 minute to be completed, be immediately terminated so as not to compromise the server.
A) Create a java war project Dynamic Web Project (eclipse, jdk7) using AspectJ ([login to view URL]). Don't use spring and don't use maven.
B) In your project create a class and an operation where I can configure how long the operation will take to finish.
C) Let's configure this operation to last 1minute and ten seconds.
D) Let's create a control with AspectJ, so that whenever the operation takes more than 01 minute, the operation is immediately completed and one message will be writed in log, so no longer uses server resources
D) The control we are going to create with AspectJ will need to work with one class or a hundred classes.
E) Details to write in the log file:
1) terminated process id
2) time it took to process
3) start time of process
4) end time of the process
5) ) class and operation where extrapolated time
5 freelancers are bidding on average $47 for this job
Hi there, I checked your requirements and guarantee you it's gonna be done within the next few hours. Let's contact via chat so that I can start work immediately. Wish you the best. ----------------------------