International protocols restrict the use, or have even created international bans on weapons, notably weapons of mass destruction (WMD). International conventions define what constitutes a war crime, and provides for war crimes prosecution. Individual countries also have elaborate codes of military justice, an example being the United States' Uniform Code of Military Justice that can lead to court martial for military personnel found guilty of war crimes.
Military law introduces offences not recognised by civilian courts, such as absence without leave (AWOL), desertion, political acts, malingering, behaving disrespectfully, and disobedience (see, for example, Offences against military law in the United Kingdom). Penalties range from a summary reprimand to imprisonment for several years following a court martial. Certain fundamental rights are also restricted or suspended, including the freedom of association (e.g. union organizing) and freedom of speech (speaking to the media). Military personnel in some countries have a right of conscientious objection if they believe an order is immoral or unlawful, or cannot in good conscience carry it out.
Each branch of the service operates its own Service Academy as a four-year institution of higher education. All students receive a full scholarship with a small monthly stipend. Upon graduation, you're commissioned as a second lieutenant in the Army, Air Force, or Marine Corps or as an ensign in the Navy or Coast Guard. Appointment to a service academy is extremely competitive. For more information, call 1-800-822-8762 (US Military Academy in West Point, New York), 1-800-638-9156 (US Naval Academy in Annapolis, Maryland), 1-800-443-9266 (US Air Force Academy in Colorado Springs, Colorado), 1-800-883-8724 (US Coast Guard Academy in New London, Connecticut), and 1-866-546-4778 (United States Merchant Marine Academy, Kings Point, New York).