550 F.2d 710
WESTON FUNDING CORPORATION, Plaintiff-Appellant,v.LAFAYETTE TOWERS, INC. and George C. Peck, Defendants-Appellees.
No. 123, Docket 76-7190.
United States Court of Appeals,Second Circuit.
Submitted Oct. 20, 1976.Decided Jan. 4, 1977.

Albert B. Gins, New York City, for plaintiff-appellant Weston Funding corp.
Stanley Zucker, New York City (Kane & Zucker, New York City, on the brief), for defendants-appellees Lafayette Towers, Inc. and George C. Peck.
Before SMITH, OAKES and TIMBERS, Circuit Judges.
TIMBERS, Circuit Judge:


1
Plaintiff Weston Funding Corporation (Weston) appeals from a judgment entered March 11, 1976 in the Southern District of New York, Robert L. Carter, District Judge, 410 F.Supp. 980, which granted the motions of defendants Lafayette Towers, Inc.  (Lafayette) and George C. Peck (Peck) for summary judgment and dismissed the complaint in a diversity action to recover real estate brokerage commissions.  The district court held that plaintiff's action is barred on grounds of res judicata and collateral estoppel.  We affirm.

I. FACTS

2
Weston is a New York corporation.  It is licensed as a real estate broker in New York but not in New Jersey.  Lafayette is a New Jersey corporation.  Its sole shareholder is Peck, a New Jersey resident.


3
Weston originally commenced a diversity action against Lafayette and Peck in the District Court for the District of New Jersey on May 21, 1974.  Weston alleged that Lafayette and Peck owed Weston brokerage commissions for its services in helping Lafayette obtain a bank commitment for loans for the financing of Lafayette Towers.  Weston and defendants on November 1, 1973 had entered into an agreement which gave Weston the exclusive right and authorization for a period of seven days to obtain such loans.  The agreement was extended orally at the end of the seven day period.  After Weston obtained a written construction loan commitment from the First National State Bank of New Jersey, the parties signed a memorandum confirming Weston's right to a commission in amount of $191,250.  After making a partial payment of $25,000 when the confirmatory memorandum was signed, defendants made no further payments.  Weston alleged that defendants subsequently used the loan commitment it had obtained for them to obtain loans from other sources.  Weston sued to recover the balance of the sum stated in the confirmatory memorandum.


4
Weston's complaint in the New Jersey federal court was dismissed on November 6, 1974 by James A. Coolahan, District Judge, on defendants' motion for summary judgment.  The ground of this decision was that New Jersey had closed the doors of its courts to suits for commissions by real estate brokers not licensed in New Jersey.1  Weston, concededly not so licensed, was held to be precluded from suing in the New Jersey federal court.  Woods v. Interstate Realty Co., 337 U.S. 535 (1949); Angel v. Bullington, 330 U.S. 183 (1947); Erie Railroad v. Tompkins, 304 U.S. 64 (1938).


5
After filing a notice of appeal from the dismissal of its New Jersey action and then stipulating to a dismissal of its appeal (without any reservation of rights), Weston commenced a new action in the District Court for the Southern District of New York on March 17, 1975, alleging substantially the same causes of action as in the prior New Jersey action.  In dismissing the complaint in the instant Southern District action, after answers had been filed, Judge Carter held that the prior judgment in the New Jersey federal court was a bar to the second action on the ground of res judicata.  He also held that the doctrine of collateral estoppel would bar Weston from relitigating the question of the applicability of New Jersey's "door-closing" statute even if Weston were not barred by res judicata from maintaining the second action in the Southern District.


6
Weston appeals from the judgment entered pursuant to Judge Carter's opinion, claiming (1) that its Southern District action is not barred on the ground of res judicata; (2) that Weston is not barred by collateral estoppel from claiming that N.J.S.A. § 45:15-3 does not close the doors of a New York federal court; and (3) that, even if Weston is barred from suing on its contract claim, it still has a good cause of action in quantum meruit.


7
Since we find no merit in any of these claims and we agree with Judge Carter's decision, we affirm.

II. RES JUDICATA

8
Weston advances two arguments to avoid the res judicata effect of the prior judgment.  First, it argues that the instant action is based on the agreement of November 1, 1973 which was executed in New York, whereas the New Jersey action was based on the subsequent memorandum signed by Peck on behalf of himself and Lafayette at a meeting in New Jersey.2  Weston maintains that the two agreements give rise to completely independent causes of action.  In its brief before us Weston points out that the November 1 contract "which was extended by the oral agreement of the parties was not before the court in the New Jersey action" and that the recovery sought in the earlier action was based on the confirmatory memorandum which, unlike the November 1 agreement, did not "constitute a contract".  The district court below correctly rejected this attempt to convert components of one agreement into separate agreements on which separate causes of action could be based:


9
"It is clear that the letter of February 25, 1974 merely provided a precise calculation for the formula already agreed upon, as evidenced by the agreement of November 1, 1973.  Regardless of whether plaintiff chooses to sue with respect to a document that sets forth the precise terms of his agreement with the defendants, or with respect to a later executed document which reflects in dollar figures the same terms as were initially agreed upon, plaintiff's cause of action remains the same."  410 F.Supp. at 983 n.4.


10
Second, Weston argues that the prior adjudication was not "on the merits" and therefore cannot be res judicata.  We agree with the district court that the New Jersey judgment was an adjudication on the merits.3  410 F.Supp. at 986.


11
It would serve no useful purpose to catalogue the types of judgments that have been considered to be "on the merits" or otherwise.  The American Law Institute has abandoned use of the term "because of its possibly misleading connotations," Restatement (Second) of the Law of Judgments § 48, at 36 (Tent.  Draft No. 1, 1973).  The general rule under the traditional terminology is that a judgment is on the merits if it completely disposes of the underlying cause of action, Cromwell v. County of Sac, 94 U.S. 351 (1876), or "determines that the plaintiff has no cause of action," Restatement of the Law of Judgments § 49, comment a at 193 (1942).  Its effect is that of "an absolute bar to a subsequent action."  Cromwell v. County of Sac, supra, 94 U.S. at 353.  On the other hand, traditionally "(a) judgment for the defendant (was) not on the merits where it (was) based merely on rules of procedure rather than on rules of substantive law."  Restatement of the Law of Judgments, supra, § 49, comment a at 193.


12
The more modern view, as expressed in the Tentative Draft of Restatement (Second), supra, and the Federal Rules of Civil Procedure, expands the category of judgments that will be considered res judicata to include dismissals on other than traditionally "substantive" grounds.  See Fed.R.Civ.P. 41(b); Reporter's Note, Restatement (Second), supra, § 48, at 42-43.  This view reverses the presumption that a judgment for the defendant on a demurrer or motion to dismiss normally does not bar a second action on the same claim.  Rule 41 provides that such a judgment in a federal court, unless within one of the enumerated exceptions to the Rule, operates as an adjudication on the merits unless otherwise specified.4


13
It is true that summary judgment was granted in the New Jersey action necessarily before "the defendant (had to) incur the inconvenience of preparing to meet the merits" of Weston's claim at trial.  Costello v. United States, 365 U.S. 265, 286 (1961).  The Supreme Court in Costello focused on that consideration as a central factor in the determination of whether a dismissal is for lack of jurisdiction, one of the enumerated exceptions to the general rule, and therefore not on the merits.


14
But there are other critical factors to consider in determining whether a dismissal is on the merits.  The primary one here is whether the court's reason for dismissal was that plaintiff had no cause of action.  In Costello the dismissal was for failure of the government to file an affidavit of good cause in a denaturalization proceeding; that failure did not destroy the underlying cause of action but simply constituted non-fulfillment of a prerequisite to the initiation of the proceedings.  365 U.S. at 268.


15
In contrast, N.J.S.A. § 45:15-3 is intended to bar creation of the debt, not merely to create a precondition to suit.5  It is not a jurisdictional or procedural provision, see Szantay v. Beech Aircraft Corp., 349 F.2d 60, 63-64 (4 Cir. 1965), but an expression of a significant substantive policy of the state.  Stahl v. Township of Teaneck, 162 F.Supp. 661, 667-69 (D.N.J.1958).  In applying the New Jersey statute to close its doors to a suit by an unlicensed broker, the Stahl court said:


16
"It is evident . . .  from the legislative language and its construction by the courts of New Jersey, that the Act is a strong expression of public policy.  It comes well within a reasonable exercise of the police power of the State to protect the public from fraud, misrepresentation, incompetence and sharp practice."  Id. at 669.


17
The provision is part of a regulatory scheme that makes it illegal to engage in any unlicensed brokerage activity in New Jersey.6


18
There may be a distinction between the question on the one hand whether a state statute is "substantive" and therefore to be applied by a federal court in a diversity action and on the other hand the question whether a judgment based on that statute is "on the merits" for res judicata purposes.  In this case we believe the two concepts coincide.  Since N.J.S.A. § 45:15-3 is part of the substantive law of New Jersey, it would be followed in state or federal courts outside of New Jersey if the court in the other state found the transaction such that the forum state's conflicts principles dictated the application of New Jersey law.  See Backar v. Western States Producing Co., 382 F.Supp. 1170 (W.D.Tex.1974) (federal court in Texas, applying Texas conflicts rule, held that the New York real estate brokers licensing statute precludes suit in Texas federal court by a broker unlicensed in New York).


19
The New Jersey statute does not close only some of the courts in New Jersey or even all of the courts in New Jersey; rather, its effect is to void the underlying cause of action.  Indeed it is not accurate to say that the court denies enforcement of an otherwise valid agreement, as with the statute of frauds, for the New Jersey courts have distinguished the licensing act from the statute of frauds on the basis of the underlying illegality of conduct in violation of the former.  Tanenbaum v. Sylvan Builders, Inc., 50 N.J.Super. 342, 355, 142 A.2d 247, 254 (App.Div.1958), modified in other respects, 29 N.J. 63, 148 A.2d 176 (1959).


20
Finally, the Supreme Court has made clear that "(i)t is a misconception of res judicata to assume that the doctrine does not come into operation if a court has not passed on the 'merits' in the sense of the ultimate substantive issues of a litigation."  Angel v. Bullington, supra, 330 U.S. at 190.  The New Jersey federal court did not dismiss Weston's action because the court lacked jurisdiction; it granted summary judgment against Weston presumably for failure to state a claim upon which relief could be granted.  See Meltzer v. Crescent Leaseholds, Ltd., 315 F.Supp. 142 (S.D.N.Y.1970) (Mansfield, J.), aff'd, 442 F.2d 293 (2 Cir. 1971).  No cause of action is recognized by New Jersey law when the broker is unlicensed.7  As the Supreme Court stated in Bell v. Hood, 327 U.S. 678, 682 (1946):"It is well settled that the failure to state a proper cause of action calls for a judgment on the merits . . . .  Whether the complaint states a cause of action on which relief could be granted is a question of law and just as issues of fact it must be decided after and not before the court has assumed jurisdiction over the controversy.  If the court does later exercise its jurisdiction, to determine that the allegations in the complaint do not state a ground for relief, then dismissal of the case would be on the merits, not for want of jurisdiction."  (emphasis added).


21
See generally The Exchange National Bank of Chicago v. Touche Ross & Co., 544 F.2d 1126, 1130-31 (2 Cir. 1976) (Friendly, J., noting "the important difference that judgments under Rule 12(b)(6) are on the merits, with res judicata effects, whereas judgments under Rule 12(b)(1) are not"); see also Curacao Trading Co. v. William Stake & Co., 61 F.Supp. 181, 184 (S.D.N.Y.1945).


22
Even if the dismissal had not been based, as we believe it was, on a ground that could be characterized for Erie purposes as "the substantive right or obligation at issue," Szantay v. Beech Aircraft Corp., supra, 349 F.2d at 63, or even as "a procedure intimately bound up with the state right or obligation," id., the dismissal would still be "on the merits" for res judicata purposes.


23
We hold that the prior judgment against Weston in the District Court for the District of New Jersey bars the instant action on the ground of res judicata.

III. ESTOPPEL

24
In view of our holding above, it is unnecessary for us to reach Weston's claim that it should not be collaterally estopped from urging a choice of law other than that of New Jersey.  Since this claim is pressed, however, we hold that, even if Weston were not barred from maintaining a new action in the New York federal court, it would be estopped from challenging Judge Coolahan's choice of New Jersey law.


25
The estoppel actually would be direct, not collateral.  See Restatement of the Law of Judgments, supra, § 49, comment b at 195 (Restatement (Second), supra, § 68, comment b at 146).  If Weston were not precluded from maintaining a new action, it still would be "precluded from relitigating the very question which was litigated in the prior action."  Restatement of the Law of Judgments, supra, § 49, comment b at 195.  The choice of New Jersey law issue is res judicata between the parties since it actually was litigated and decided.  Id.


26
Moreover, it is hard to see what Weston hoped to gain by relitigating the choice of law question in the New York federal court.  New York applies the "center of gravity" conflict of laws test, Auten v. Auten, 308 N.Y. 155, 160, 124 N.E.2d 99, 101-02 (1954), applied in Meltzer v. Crescent Leaseholds, Ltd., supra, 315 F.Supp. at 146.  Under that test, there is little doubt that New Jersey law would govern a dispute arising from this agreement.  Weston had obtained a loan commitment from a New Jersey bank for the financing of New Jersey property by a New Jersey corporation owned solely by a New Jersey resident.  The only link to New York was that Weston and defendants signed the original brokerage agreement in New York.  That would be insufficient to shift the center of gravity or to remove the agreement from the strictures of N.J.S.A. §§ 45:15-1 and 45:15-3.  See Yoerg v. Northern New Jersey Mortgaging Associates, 44 N.J.Super. 286, 292-93, 130 A.2d 392, 395 (App.Div.1957); N.J.S.A. § 45:15-2 (1963); see generally Restatement (Second) of the Conflict of Laws §§ 190, 196 (1971).

IV. QUANTUM MERUIT

27
Finally, we need not tarry with Weston's claim that, even if it is barred by res judicata or estoppel from relitigating its contract cause of action, it nevertheless should be permitted to maintain its quantum meruit cause of action.  Suffice it to say that Weston asserted its quantum meruit cause of action in the New Jersey federal court as it did in the New York federal court.  The gravamen of the holding of the New Jersey federal court was that Weston's failure to obtain a New Jersey broker's license precluded it from suing to recover a commission.  This holding was required by the New Jersey statute, N.J.S.A. §§ 45:15-1 and 45:15-3, and is supported by New Jersey decisional law.  Tanenbaum v. Sylvan Builders, Inc., supra, 50 N.J.Super. at 355, 142 A.2d at 254.  It strains credulity to suggest that the state's statutory and decisional law would not apply with equal force to a quantum meruit cause of action.


28
Affirmed.



1
 N.J.S.A. § 45:15-3 (1963) in relevant part provides:
"No person, firm, partnership, association or corporation shall bring or maintain any action in the courts of this State for the collection of compensation for the performance of any of the acts mentioned in this article without alleging and proving that he was a duly licensed real estate broker at the time the alleged cause of action arose."


2
 That the extension of the original agreement was not in writing does not present a problem.  New York exempts real estate brokerage agreements from the statute of frauds.  N.Y.Gen.Oblig.Law § 5-701(10) (McKinney 1964)


3
 We assume without deciding that federal law governs the res judicata effect of the prior judgment in the New Jersey federal court, including the determination of whether the judgment was "on the merits."  See Kern v. Hettinger, 303 F.2d 333, 340 (2 Cir. 1962); cf. Heiser v. Woodruff, 327 U.S. 726, 731-32 (1946).  There is no reason to believe that New Jersey would accord less preclusive effect to a dismissal based on N.J.S.A. § 45:15-3 than would a federal court sitting in New Jersey; so the Kern problem is not present here.  We therefore need not decide whether state or federal law, if they were in conflict, would control the res judicata effect of a dismissal by a federal court in a diversity action when the dismissal is based not on a federal rule as it was in Kern, see 303 F.2d at 339-40 & n.7, but on a state door-closing statute.  See generally Degnan, Federalized Res Judicata, 85 Yale L.J. 741 (1976)


4
 Comment d to § 48 of the Restatement (Second), supra at 42, explains the departure from the first Restatement's position in § 50 that "a judgment for defendant on demurrer or motion to dismiss for failure to state a claim had only direct estoppel effect."  The comment goes on to point out that even under the earlier provision, "the granting of such a motion not because of a technical defect in the complaint or the inadvertent omission of critical allegations, but because of 'an entire failure to state a cause of action,' would effectively bar a second action because of the scope of the issue determined in the first proceeding."  Id.  That is the case here


5
 Even if it were merely a precondition to suit, it would be a precondition Weston never could fulfill.  Becoming a licensed broker in New Jersey at any time after the alleged cause of action arose would not enable Weston to fulfill the requirements of N.J.S.A. § 45:15-3.  Compare Restatement (Second), supra, § 48.1(2) and comment k at 46, 52-53


6
 N.J.S.A. § 45:15-1 (1963) in relevant part provides:
"No person shall engage either directly or indirectly in the business of a real estate broker or salesman, temporarily or otherwise . . .  without being licensed so to do . . . ."
The provision is "regulatory and not merely revenue producing, and a contract made in violation of (the provision is) illegal and void."  Saks Theatrical Agency v. Mentine, 24 N.J.Misc. 332, 333, 48 A.2d 644, 645 (1946).


7
 In Woods v. Interstate Realty Co., supra, the Court interpreted its decision in Guaranty Trust Co. v. York, 326 U.S. 99 (1945), as "premised on the theory that a right which local law creates but which it does not supply with a remedy is no right at all for purposes of enforcement in a federal court in a diversity case.  . . ."  337 U.S. at 538


