---
title: "EJB 规范规定 EJB 中禁止的操作有哪些？"
author: "youngmaster"
date: "2009-10-12T20:10:08Z"
tags: []
slug: "ejb-ejb"
draft: false
lastmod: "2009-10-12T20:10:08Z"
id: 486299
url: "https://youngmaster.iteye.com/blog/486299"
---

**1.**不能操作线程和线程 API(线程 API指非线程对象的方法如 notify,wait等) 

 

**2.**不能操作awt

 

**3.**不能实现服务器功能 

 

**4.**不能对静态属生存取

 

**5.**不能使用IO 操作直接存取文件系统 

 

**6.**不能加载本地库

 

**7.**不能将this 作为变量和返回

 

**8.**不能循环调用