blog.espenberntsen.net
traceDetailWithException | Java and Spring development
https://blog.espenberntsen.net/2010/03/09/monitoring-a-web-application-with-tcserver-developer-edition/tracedetailwithexception
Java and Spring development. Monitoring a web application with tcServer developer edition. Leave a comment ». Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Email (Address never made public). You are commenting using your WordPress.com account. ( Log Out. You are commenting using your Twitter account. ( Log Out. You are commenting using your Facebook account. ( Log Out. You are commenting using your Google account. ( Log Out.
blog.espenberntsen.net
@AspectJ examples with pointcuts based on annotations | Java and Spring development
https://blog.espenberntsen.net/2010/03/18/aspectj-examples-with-pointcuts-based-on-annotations
Java and Spring development. AspectJ examples with pointcuts based on annotations. The Demo class has a text field that’s impossible to advice when the field gets set, since the Spring container injects the value with reflection and it’s no places in the code that sets this field. But it’s possible to advice the toString() method that reads this field. The constructor and method annotated with @Inject are adviced after they have returned successfully. A screenshot from STS. With AspectJ nature enabled:.
blog.espenberntsen.net
@AspectJ cheat sheet | Java and Spring development
https://blog.espenberntsen.net/2010/03/20/aspectj-cheat-sheet
Java and Spring development. This cheat sheet uses AspectJ’s @AspectJ style. It’s also possible to use the original AspectJ syntax. Demonstrates, but I prefer to use standard Java classes with the AspectJ logic inside annotations. The definition of a pointcut from the AspectJ homepage. Pointcut([method designator](* aspects.trace.demo.*.*(.) ) public void traceMethodsInDemoPackage() {}. Call – The pointcut will find all methods that calls a method in the demo package. This chapter explains more advanced ...
blog.espenberntsen.net
Pointcut | Java and Spring development
https://blog.espenberntsen.net/tag/pointcut
Java and Spring development. Posts Tagged ‘ Pointcut. This cheat sheet uses AspectJ’s @AspectJ style. It’s also possible to use the original AspectJ syntax. Demonstrates, but I prefer to use standard Java classes with the AspectJ logic inside annotations. The definition of a pointcut from the AspectJ homepage. Pointcut([method designator](* aspects.trace.demo.*.*(.) ) public void traceMethodsInDemoPackage() {}. Call – The pointcut will find all methods that calls a method in the demo package. This chapte...
blog.espenberntsen.net
Spring | Java and Spring development
https://blog.espenberntsen.net/tag/spring
Java and Spring development. Posts Tagged ‘ Spring. SLF4J logging with Log4J and JCL. More and more frameworks logs with the SLF4J framework. Many applications must relate to several different logging frameworks. This tutorial shows how one logger framework can handle log messages from other logging frameworks with SLF4J as the central part. Log4J integrates well with JCL, but can’t handle log messages from SLF4J. This forces the use of SLF4J to connect the different loggers together. The difference is t...
blog.espenberntsen.net
Aspects | Java and Spring development
https://blog.espenberntsen.net/category/aspects
Java and Spring development. Archive for the ‘ Aspects. Pitfalls with aspect technologies. Even though aspect technologies are very powerful. Especially to address cross-cutting concerns like transactions, it shouldn’t be used everywhere it’s possible. The first part of this post consists of a simple example that uses AspectJ to return an unexpected value. The last part is about where aspects fits and where you should consider to avoid it. A quote from the Spider-Man movie:. When some code calls on String.
blog.espenberntsen.net
Hibernate | Java and Spring development
https://blog.espenberntsen.net/tag/hibernate
Java and Spring development. Posts Tagged ‘ Hibernate. SLF4J logging with Log4J and JCL. More and more frameworks logs with the SLF4J framework. Many applications must relate to several different logging frameworks. This tutorial shows how one logger framework can handle log messages from other logging frameworks with SLF4J as the central part. Log4J integrates well with JCL, but can’t handle log messages from SLF4J. This forces the use of SLF4J to connect the different loggers together. The difference i...
myossdevblog.blogspot.com
My Open Source Software Development Blog: May 2010
http://myossdevblog.blogspot.com/2010_05_01_archive.html
May 18, 2010. Microlog, Microlog4Android, SLF4J and Other Stuff. Right now a lot of interesting stuff are happening with both Microlog. I have been working with Microlog, while Jarle. Has been working on Microlog4Android (M4A). Let me start with Microlog. I have started the work on Microlog V3.0. To start with I have been able to make the structure a little bit easier. For example I have removed some abstract classes, like the. To use M4A to log to file. But that is not all! Implementation. This give...
blog.espenberntsen.net
unstableNetworkWithFiveClients | Java and Spring development
https://blog.espenberntsen.net/2010/03/09/monitoring-a-web-application-with-tcserver-developer-edition/unstablenetworkwithfiveclients
Java and Spring development. Monitoring a web application with tcServer developer edition. Leave a comment ». Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Email (Address never made public). You are commenting using your WordPress.com account. ( Log Out. You are commenting using your Twitter account. ( Log Out. You are commenting using your Facebook account. ( Log Out. You are commenting using your Google account. ( Log Out.