flex整合Java登陆总结

时间:2019-05-12 04:37:40下载本文作者:会员上传
简介:写写帮文库小编为你整理了多篇相关的《flex整合Java登陆总结》,但愿对你工作学习有帮助,当然你在写写帮文库还可以找到更多《flex整合Java登陆总结》。

第一篇:flex整合Java登陆总结

Flex结合java实现一个登陆功能

1、环境的搭建:

对message-congig.xml配置如下:

Web.xml的配置如下:

BlazeDS

BlazeDS Application

flex.messaging.HttpFlexSession

MessageBrokerServlet class=“flex.messaging.services.RemotingService”>

class=“flex.messaging.services.remoting.adapters.JavaAdapter” default=“true” />

com.wangkun.Login

flex.messaging.MessageBrokerServlet

services.configuration.file

/WEB-INF/flex/services-config.xml

1

MessageBrokerServlet

/messagebroker/*

这些xml文件基本固定。

2、创建Bean类User和Login类

public class Login {

} 启动tomcat,至此myeclipse里的配置结束。

3、在flah builder里创建一个flex项目。public String login(String name, String psw){

} public String login(User user){

}

public User login(){ } return new User(“wang”,“aaa”,33);if(“sss”.equals(user.getName())&&

} return “good”;return “sorry”;if(“aa”.equals(name)&& “123”.equals(psw)){

} return “ok”;return “error”;} else {

“123”.equals(user.getPwd())){ }else{

应用服务器技术类型选:j2ee BalzeDS 下一步之后配置服务器位置:

点击完成。

4、对index.mxml的编写:

首先要在fx:Decaration中配置destination对应于message-congig.xml中的id Result是回调函数,

endpoint=“/flexApp01/messagebroker/amf”>

Fx:script中的代码如下:

import com.wang.asclass.User;

import mx.controls.Alert;import mx.rpc.events.ResultEvent;protected function huidiao1(event:ResultEvent):void { // TODO Auto-generated method stub

var result:String =event.result as String;

]]> } Alert.show(result,“结果”);protected function huidiao2(event:ResultEvent):void { // TODO Auto-generated method stub

var result:User = event.result as User;Alert.show(result.name);trace(result.name);} protected function senddata(event:MouseEvent):void //按确认按钮时 {

} protected function canceldata(event:MouseEvent):void //按取消按钮时 {

}

protected function showdata(event:MouseEvent):void{ //按查询按钮

} loginClientTag2.login();// TODO Auto-generated method stub

var name:String=this.nametext.text;var psw :String=this.pswtext.text;var user :User = new User();user.name=name;user.pwd=psw;loginClientTag.login(user);

// TODO Auto-generated method stub

this.nametext.text=“";this.pswtext.text=”“;

视图:

可创建一个名为User的as类 package com.wang.asclass {

}

[Bindalbe] [RemoteClass(alias=”com.wangkun.User")] public class User {

} public function User(){ } public var name : String;public var pwd : String;public var age : int;

第二篇:普通员工登陆

1.普通员工登陆

名称 Land

create procedure Land

@yhm float,@mm float,@result char(8)output

AS

if exists

(select * from member where @yhm=yhm and @mm=mm)set @result='success' begin

end

else

begin

set @result='faile'

end

2.管理员登陆

名称 manager_Land

create procedure Land

@yhm varchar(50),@mm varchar(50),@result int output

AS

if exists

(select * from member where @yhm=yhm and @mm=mm)set @result=1 begin

end

else

begin

set @result=0

3.end管理员删除成员

名称manager_del

create procedure manager_del

@id int

as

delete from member WHERE id=@id SELECT *FROM member

4.管理员修改员工信息

名称manager_change

create procedure manager_change

@name char(8),@sex char(4),@age int, @id int,@zhiwu char(8), @yhm float,@mm float

as

update member

set name=@name,sex=@sex,age=@age,id=@id,zhiwu=@zhiwu,yhm=@yhm,mm=@mm

where id=@id select * from member

5.管理员查询员工信息

名称manager_find

create procedure manager_find

@ID int,@name char(8)output,@sex char(4)output,@age int output, @idd int output,@zhiwu char(8)output,@yhm float output,@mm float output,as

select @name=name,@sex=sex,@age=age,@id=id,@zhiwu=zhiwu,@yhm=yhm,@mm=mm from member where @ID=id

6.管理员添加员工信息

名称manager_insert

create procedure manager_insert

@name char(8),@sex char(4),@age int, @id int,@zhiwu char(8), @yhm float,@mm float

as

insert into member values(@name,@sex,@age,@id,@zhiwu,@yhm,@mm);select *

from member

7.员工查询工资情况

名称salary_find

create procedure salary_find

@id int,@jbgz float output,@grsds float output,@jcje float output

as

select @jbgz=jbgz,@grsds=grsds,@jcje=jcje

from salary

where @id=id;

第三篇:诺曼底登陆英文演讲稿

Good afternoon everyone!Before making a speech, I want to ask you a question.Do you know what happened on June 6th of 1944? Who knows it? Please raise your hand.If you can‟t say it in English, speaking Chinese is OK.Yeah, it is the Normandy [nɔrməndi]Landing.I think most of you must have learned it from your history textbook.Am I right?OK, however, there are a lot of interesting and important stories which our textbook doesn‟t tell us.And this is what I am going to talk about.First of all, you may have learned that the Normandy Landing is also called “the opening of the second battlefield”.So what does “the second” mean? Who knows it? Raise your hand, please.Yeah, at that time Soviet[soʊviet] was battling against Germany and Soviet was thrown into dilemma[dɪlɛmə].Lots of troops were ruined and Moscow was almost seized[si:z].So Stalin[stɑ:lin] demanded his allies Britain and America do something to relieve his burden[bɜ:dn].But the Prime Minister Churchill [tʃə:tʃil] had his own thoughts.He wanted to benefit from the battle between the two countries.So he took pains to find the excuses for his delay[dɪleɪ].He said Britain had no ability to open the second battlefield.Why did Churchill say so? Because he attached importance to the Middle East and the Mediterranean[medɪtə‟reɪniən].Britain had plenty of colonies[„kɒləni] at these places and they were likely to be attacked by Axis Powers.Obviously, in his opinion, defending British interests was the most important.Although the opening of the second battlefield was delayed year after year, Allied Powers finally decided to launch the plan in 1944.But is it so easy? Allied Forces thought the vital problem was the landing place.There were two ideal places.One was Calais['kæleɪ], the other was Normandy.Now let us analyze the two places.Calais was the nearest landing point.But German had established many strongholds there.Normandy was far from Britain but the beach was wide, which would help spread huge amounts of troops.If you were the commander in 1944, which place would you choose? Sounds a little difficult.But what is the vital factor of a military action? It is acting abruptly and surprisingly.You may have heard of the famous saying in Sunzi‟s art of war.It is “March where the enemy can‟t imagine and attack what the enemy doesn‟t defend”.Sounds a bit familiar? Because Calais was the nearest landing point, German guessed Allied Forces would land at Calais.Of course they established lots of strongholds so landing would pay a heavy price.The next problem for Allied Forces was how to hide their real purpose.German was not a fool.If German perceived the real purpose, they would transfer their troops from Calais to Normandy.So intelligence was significant.In order to deceive the enemy, Allied Forces did what they could do.They established a strong army called “the First Group Army” and deployed the army near Calais and most importantly, they assigned George Barton to be the commander.Now we know it is fictitious[fɪktɪʃəs].But in 1944 German didn‟t know.George Barton was famous for his outstanding military talent and German was afraid of him.They thought: Oh, Barton became the commander of the First Group Army, it meant the Allied Forces would take a big action.They paid attention to the army and assigned spy planes to Britain to get information about the army.Allied Forces made full use of these German spy planes.They deployed lots of tanks, planes and cannons[kænən] around the base of the First Group Army.But they were all made of rubber.So interesting, right? They were not the real weapons.However, German spy planes couldn‟t distinguish the differences.They returned to Germany and told Hitler the wrong information.However, doing these was not enough to deceive the enemy.In order to prove that the First Group Army truly existed, Allied Forces developed a great number of double agents.Double agent means a spy serve two countries at the same time.The double agents were used by German to get intelligence from Allied Forces.Of course they gave the wrong information to German.They said Allied Forces would land at Calais and the First Group Army was very strong.The most inconceivable thing was that Allied Forces even used actors.They managed to find an actor who resembled[rɪzembl] the Marshal Montgomery[mɑntɡʌməri] very much.The real Montgomery hid and the actor flew to North Africa.German spies in North Africa followed the Marshal secretly and reported all his activities to German Forces.It gave German Forces a wrong impression that Allied Forces would take an action in North Africa so they didn‟t dare to transfer all their troops from North Africa to North France.All in all, a series of intelligence deceptions and other assistant strategies made German believe that Allied Forces would land at Calais.What is worse, when Allied Forces began to land at Normandy, German Forces even believed it was an illusive military action.The chief commander Eisenhower['aɪzən‟haʊər] called the first day of landing “the longest day”.The famous German Marshal Rommel[„rɑməl] called it “the decisive 24 hours”.In the end Allied Forces won the decisive 24 hours.When German reinforcements[ri:ɪn‟fɔ:smənt] arrived, it was too late.That‟s all.Thank you very much!

第四篇:个人企业邮箱登陆方法

向郭宗设(手机短号6758、座机200)申请,并成功开通企业邮箱后,登陆方法为:

1、浏览器访问ym.163.com

2、提示界面

3、输入账号与密码,新用户开通默认密码为123456,示例:手机短号@hj-net.com

4、登陆成功过后,提示界面为修改密码界面(为保障个人隐私安全,密码严禁使用初始密码123456)

同时,勾选下面

我同意,进入邮箱,下次访问企业邮箱,即为此次更改密码。

第五篇:诺曼底登陆英文简介

The Normandy Invasion was a massive battlefield action launched by The Antifascist alliance confederates in western Allies in Europe.The battle took place on June 6, 1944, early at 6:30.The campaign in August 19 ended after the confederates went through Seine-Marne River.The Normandy Invasion is the world’s largest sea in combat by far, involving nearly 3million soldiers crossing the channel in Normandy in France.Tens of thousands of Second World War veterans from all over the world have been gathering in Normandy in northwestern France of the D-Day Landings, the huge military operation, which gave allies forces the foothold they needed to end the Nazi occupation of Europe.From Britain alone, at least 12000 former servicemen and women are making the journey.In an echo of June 1944, many are crossing the English Channel in boats escorted by warships and also in Normandy are 600 American parachutists commemorating an airborne assault there behind enemy lines.Significance of Normandy Campaign: Normandy Landing was a historic campaign in later period of the Second World War.The allies include American, Canada, France, Britain, Poland, Holland and Norway, they open up the second battlefield in Europe, which expedited the downfall of Germany.The campaign with great extent and cruel battles was rare in human history.And this campaign provided the foundation for the world-wide liberation.

下载flex整合Java登陆总结word格式文档
下载flex整合Java登陆总结.doc
将本文档下载到自己电脑,方便修改和收藏,请勿使用迅雷等下载。
点此处下载文档

文档为doc格式


声明:本文内容由互联网用户自发贡献自行上传,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任。如果您发现有涉嫌版权的内容,欢迎发送邮件至:645879355@qq.com 进行举报,并提供相关证据,工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。

相关范文推荐

    用友ERP-NC登陆操作手册(范文模版)

    用友ERP-NC系统登陆操作手册 一.点击IE浏览器,在“工具”菜单下,点击“Internet选项”,如下图: 二.在“Internet选项”中,先点击“安全”页签,然后点击“受信任的站点”,接着点击“站......

    中国移动cmcc登陆问题

    中国移动cmcc登陆问题 1'首先设置ip和dns,都设置为自动分配; 2‘用wifi搜索cmcc,搜到后连接; 3’连接后,信号强度够3格以上时 4‘不要关闭wlan页面 5’打开一个想登陆的页面,这时......

    人类何时能登陆火星五篇范文

    人类何时能登陆火星火星与我们居住的地球很相似。人类在登上月球之后,一直在探索登陆火星之路。近来,根据美国有关研究机构所提供的资料显示:人类将于2014年登上火星。以下是美......

    asp.Net 登陆功能模块 学习资料

    前台代码 无标题页 用户名: 密码: 注册 Web.config 登陆按钮后台代码 protected void Button1_Click(object se......

    巴顿的演讲稿-诺曼底登陆

    Be seated. Men, all this stuff you hear about America not wanting to fight, wanting to stay out of the war, is a lot of bullshit. Americans love to fight. All......

    幸福里程登陆:女人如何获得幸福

    幸福之于女人,究竟是一蔬一饭的平淡温馨,还是生死相依的荡气回肠?为了所谓的幸福,又有多少女人穷尽一生,到头来却满目寂寥,无所归依。在通往幸福的路上,女人们要经历怎样的一番历练......

    如何登陆新思考教育论坛

    如何参加新思考英语教育论坛 新思考网是全国性的全面提升英语教师水平的网站。有很多知名的专家都活跃在此网站,义务为广大一线教师服务。还有不少老师在此建立自己的博客。......

    我国电力机车首次登陆非洲

    我国电力机车首次登陆非洲 2012年09月12日 07:35 李文峰 来源:湖南日报 热点专题 手机看新闻 本报9月11日讯(记者 李文峰 通讯员 颜常青 梁超)9月10日,中国南车株洲电力机车有限......