why frameworks provide annotation based configuration Why hibernate,spring and struts provide annotation based configuration and what is difference between xml configuration and annotation based configuration, please tell with example?
Xml configuration versus Annotation based configuration In a few large projects i have been working on lately it seems to become increasingly important to choose one or the other (XML or Annotation). As projects grow, consistency is very important for maintainability.   My questions are: what are the advantages of XML-based configuration over Annotation-based configuration and what are the advantages of Annotation-based configuration over XML-based configuration?
Prove that if a function $f$ has a jump at an interior point of the interval $[a,b]$ then it cannot be the derivative of any function. Prove that if a function $f$ has a jump at an interior point of the interval $[a,b]$ then it cannot be the derivative of any function.  I know that for $f$ is differentiable in $(a,b)$ and that it has one-sided derivative $f_+' (a)≠f_-' (b)$ at the endpoints. If $C$ is a real number between $f_+' (a)$  and $f_-' (b)$, then there exists $c∈(a,b)$ such that $f' (c)=C $. How can I use this to prove the above? My problem is that I want to have different .tex files for the preamble, the presentation aroundings (my target is a beamer PDF file) and the content of the presentation.  Mostly I'll be working on the content file. I even think about partitioning this content .tex file into several chapter files for a better overview. My problem with this solution is that I have to open the presentation.tex file to typeset the whole beamer PDF for looking at the results of my previous changes on the content files. (My presentation.tex file includes the preamble and the content.)  Is there any way to get TeXShop to always typeset one particular file (my presentation.tex) although I'm currently working on a different one (e.g. the content.tex)?  A shortcut? A command in the .tex file? An option in TeXShop? Anything? What does $\mathbb{R} \setminus S$ mean? What does $\mathbb{R}\setminus S$ mean? I am not getting it what it actually means. I have found it manywhere in real-analysis like in the definition of boundary points of a set. Can anyone tell me what it means really? Best books for mathematical background? What are the best textbooks to read for the mathematical background you need for modern physics, such as, string theory?  Some subjects off the top of my head that probably need covering:   Differential geometry, Manifolds, etc. Lie groups, Lie algebras and their representation theory. Algebraic topology. Java Serialization with non serializable parts I have:  class MyClass extends MyClass2 implements Serializable {   //... }   In MyClass2 is a property that is not serializable. How can I serialize (and de-serialize) this object?  Correction: MyClass2 is, of course, not an interface but a class. For a vector space $V$ and a linear operator $f : V \to V$, under what conditions does $V = \ker(f) \oplus \operatorname{im}(f)$?  Is it always true, or only in special cases?  Edit: $V$ is finite dimensional. How do I install wine? Can someone please explain how I can install  in the following ways?   By using the package manager? By downloading and installing a pre-built package? In The Matrix Revolutions, when Neo and Trinity are trying to get to the Machine City, when the Machines launch weapons against them, Neo is able to destroy some of the incoming weapons. This is in the real world at this point, not in the Matrix.  How does Neo have any powers against the machines outside of the Matrix? Addendum: I'm looking for in universe answers only.  I would think that would be obvious, but I'm adding this after an answer that is essentially, &quot;It's a movie...&quot; Lower bound for $\phi(n)$: Is $n/5  1$? Is it true that :  $\frac {n}{5} &lt; \phi (n) &lt; n$ for all $n &gt; 1$ where $\phi (n)$ is  .  Since $\phi(n)$ has maximum value when $n$ is a prime it follows that maximum value of $\phi(n)$ in term of $n$ is $n-1$ , therefore $\phi(n)&lt; n$ for all $n$. What is the best lower bound for $\phi(n)$? Reason for Subject-Verb Inversion: Only in cases where A is B, shall the Company do X A good approximation of $(1+x)^n$ is $1+xn$ when $|x|n &lt;&lt; 1$.  Does this approximation have a name?  Any leads on estimating the error of the approximation? Optimization paramters read-only mysql 5.7 database? What's the best way to configure a MySQL database that is only read-only, and will never have any modifications made to it?  1) I have increased my innodb_buffer_pool_size to 70% of available RAM  2) Increase query cache size to 40mb  Running against a load generator, after some time the database starts bottlenecking to only 1000 statements per second.  The configuration is 2-cores, 8GB ram 50GB SSD. The database contains a single InnoDB 13 GB table with the same exact query running on two indexed columns.  We are using a vertx server to hit the database. The symptom we see is that the web service performance degrades after 15-20 minutes of heavy load.  Where can the bottleneck be? What parameters should we optimize? Show that one-sided limits always exist for a monotone function (on an interval) How do I turn off some formats in GeoServer's WMS? Why don't elves have more babies? Reputation does not update after community wiki is removed from a post, and does not match the value displayed in the reputation audit If votes were cast on a post while it was community wiki, and a moderator removes wiki from that post, the votes should count towards reputation again. However, while this is visible in a reputation audit, , and the reputation score needs to be recalculated to reflect the change.  Can someone fix this? AMD GPU Material in "material preview mode" and "rendered mode", is entirely gray as background. Only outline is displayed Use of "would" for subjunctive phrases This has been bugging me for some time; I tried to look for previous questions here but my language tools may not be sharp enough to phrase my query correctly so please forgive me if this has already been posted here.  Speakers of English as a foreign language tend to incorrectly use the word "would" when using some particular subjunctive constructs. Here is  (this time presumably by a native English speaker):     If that would happen, you won’t be alone.     (One correct version being "If that happens, you won't be alone".) I have detected this in speakers of a number of languages so I feel this is more likely to be a feature of the English language itself than a carry-over from their native language.  I have a faint intuition that this is because , and it certainly doesn't help that , but I can neither make that precise nor even really phrase a concrete question. Can someone shed some light on this?    Edit: just to provide some real-world examples of what I mean, here is one example taken from :     Publish or Perish is designed to empower individual academics to present their case for research impact to its best advantage. We would be concerned if it would be used for academic staff evaluation purposes in a mechanistic way.   This is obviously ungrammatical (to me), but I'm not sure how to characterize the mistake, or what the likely causes are (e.g. whether it follows from analogous constructions in other languages). The following MWE produces a PDF whose TOC has two entries: “Foo” and “Bar” with correct page numbers. So far, so good. However, upon clicking on the link to “Bar”, I am taken to the page for “Foo” instead.  \documentclass{report} \usepackage{hyperref} \newcommand*\backmatter{\setcounter{chapter}{0}}  \begin{document} \tableofcontents \chapter{Foo} \backmatter \chapter{Bar} \end{document}   (Produced with pdflatex, run twice.)  This MWE is whittled down from a (much!) more complex document but the above does seem to reproduce the error reliably.  Re-setting the chapter count seems to confuse hyperref, even though the page references are still accurate. Notice that in my real document, \backmatter does other things, including setting the numbering style to alphabetical so there’s no chance of confusion even though both chapters are ostensibly labelled as “Chapter 1”.  How do I fix this? Is this a bug? Are there workarounds? Get the client IP address using PHP