The right to due process of law ordinarily entitles a defendant to a noticed hearing and the opportunity to oppose the issuance of a writ of attachment. However, a writ may be issued ex parte (without notice to the defendant) if the plaintiff will suffer great or irreparable injury or if the defendant resides outside the state.