Please suggest some tutorial for learning pointcut expression [closed] - java

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Please suggest some tutorial/cheatsheet for learning pointcut expression.

The AspectJ programmers guide has plenty examples, looks straightforward.

AspectJ in Action is also a great source of information on AOP and AspectJ.

Spring.Net has excellent documentation which can be downloaded from here: http://www.springframework.net/documentation.html
It has a very good general introduction to AOP and examples and sample AOP programs to get you started. Not knowing much about AOP, but knowing a bit about Spring.Net, I found this enough to get an AOP-based logging system up and running.

Related

What is the best way to learn differet code? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am trying to a get a general grasp of a wide variety of different languages. Where is a good place to start learning? I would like to learn php, java, html, css, javascript.
I have been to w3schools http://www.w3schools.com
Are there any other great websites?
Some of the sites where you can learn java are :
mkyong itself and links provided on this site.
I would definitely try Codecademy http://www.codecademy.com. its free and they have great examples that you can work through.
Read books! There's a lot of computer related book at Indigo. I think they are good, because it comes with example and it explains well

Inappropraite usage of AOP [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What are bad practices of using AOP?
I mean do we have situations when AOP is inappropriate to use.
In my experience, AOP is a too powerfull tool. With AOP you can change so many things that it can become very hard to maintain and debug the code.
I recommend to limit the use of AOP as much as possible.
There are also some less powerfull versions of AOP, such as EJB Interceptors, which are often enough to do some cross-cutting concerns or monitoring.
We will avoid the AOP in the following cases
Don't want to provide the enterprise business/Service.
Declarative Transaction Management..
Conditional Aspects based up on your own criteria's...............

example projects with hibernate and JPA [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Does anyone know a good open-source project where I could have a look on the persistence layer (for good programming practices and transaction management) where Hibernate 3 and JPA 1 is used?
I couldn't tell you of any open source projects you can check out, but if you want to learn hibernate I can recommend a great book from Apress. It is called Hibernate Recipes and it pretty much explains everything.
PS: no kind of advertising intended, just trying to help OP.
Try to search Bitbucket or GitHub repositories for "Hibernate", you will find a lot of sample projects you can learn best practices from.

Google CodePro rules [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have been using Google CodePro Audit for java for few days now and i'm amazed in how much it helped me improve my code.
There are some rules which never crossed my mind and some that i don't really understand the consequences.
For instance, i always though that using utility methods were a good pratice. But there is a rule in there which states "Utility methods should be avoided except under certain circumstances" . Can anyone elaborate on that ?
Also, post your opinions in which are the MUST rules to follow using codePro.
Thank You.
Regards
Bruno
I think the reason for the warning is that utility methods take away from the Object Oriented nature of Java programming.
However, I don't think I've ever worked on a Java project that didn't have at least one utility class containing only public static methods.

Java Coding standards [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
What coding standards in java should a programmer definitely
follow for a more readable code?
Read the Code Conventions for the Java programming language by Oracle
Roger C. Martin: Clean code - a handbook of agile software development
Start with Checkstyle and PMD.
There are a lot of factors which go into defining the term "a good coding standard" but the official document should offer you some insight.

Categories

Resources