Three-layer experience is a bit mean.

zhaozj2021-02-16  126

http://bbs.njupt.edu.cn/cgi-bin/bbsgcon?board=delphi&file=g.1036298579.a&nuM=52

Sender: Felong (Vitamin C), the letter area: Delphi

Title: Learn Kylix? Exhause! Continued: Peak Turning

Sending station: Zijin Feihong (November 03, 2002 12:42 Sunday), station letter

JCHANG

Young and young

Canada

9 posts posted - 12/16/2001: 12:51:41

-------------------------------------------------- ----------------------------

----

2001/07/02 Monday, is an important day, this turnover is nearly one billion company, with 5 domestic and abroad

Database, 11 business bases, 12 internet lines, 4,700 employees, today's conversion system, the general public

The DataBase is replaced from Oracle V7.33 to V8.17, and is more replaced with 3-Tier from Client / Server.

After a long time test and then tested, after the delay is delayed, today will no longer be post, the whole company is delayed, Delphi

!

6/30 V7.33 Database stop service, interrupt replication with other databases, after the information export,

On the day of the day, IMPORT entered V8.17, this action has been drifted several times, everything goes well.

7/1 Sunday, the outside is the sun, the holiday office building, the equipment room is a dozens of machines like a stove

High temperature, everyone has been in this small room, and the day of the night is a few weeks, it has finally reached the show.

Waiting, 3 AP Server Ready, Web-Server starts success, the first account login, the second account

Into, third, fourth ... the whole process is unbelievable, and after reporting the work situation to the boss, it is determined tomorrow.

Change the system!

7/2 Monday, 8:30 USER in Morning began to influence the office, the new homepage show out:

1. All functions of the old system are replaced by new systems from the date of this day.

2. The old system still retains the query function within 30 days.

3. Data from home and abroad is scheduled to recover within 7 days.

4. Please pay attention to the learning courses announced.

...

11:00 AM

[Is the host?]

[Nothing, so I can't see it.]

[why?]

Most of them will not operate, waiting for training courses.

11:30 am

There is a PC in the classroom, an Error Message, which has a RPC server.

[and then?]

Still in solving.]

11.35am

[No, most USERs have the same message, RPC error.]

[Program restart?]

[Nor, David class also can't teach.]

[How is the situation of Server?]

[Oracle is normal, the ap server is not loading, but it can't even connect]

Which question?]

[It seems to hang.]

...

[Notify User to eat under class, continue in the afternoon!]

Everyone looked at it, but there was no appetite. It is still a 90-minute in the afternoon to think about it.

[AP will be normal, will it be a problem just now?

[But except for the other Server all normal.]

[AP network card out?]

[But three sets.]

[Weird, I haven't touched this RPC Error for so long, I hang it on the first day ...]

[Will it be the same as these official SERVERs to be different from the previous test?

The only difference is that there is only one AP before, and now is 3 units.

[Will it be a problem with loading balancing?]

[... However, SimpleObject just assigns an AP Server to the client, the AP is dropped with SimpleOb

Is it a relationship with ject?

[No, in the afternoon, 2 AP will be offline, only one will be seen, will not be better.]

1:40 pm

I'm sorry, because the host has some problems in the morning, so now continue ...] 2:00 pm

[Another rpc error!] Jerry is exclaimed.

[AP hangs again.]

[Reopen!]

[...]

It's hard to get off work, and I will not be a few times. The same is that these people are also frowning, and they are not eating.

Next. The central air conditioner has not been at 7:00, and the night is very long.

[OK, it seems that the only one is different from the test environment, and the concurrent user is more, the AP is hung.]

[How many user is there today?

[20 in the classroom, there are some outside, but the classrooms are followed by the teacher's course, so they will be the same at the same time.

AP, so AP can't stand.]

[Talented 20 will not be can't stand it? What is the fade, who dares to use.

These people have not slept a few weeks, David, Jerry hasn't gone home for a long time, and the anger in my heart seems to be outside.

The temperature of the head.

[AP service is using SINGLE or MULTIPLE?]

Is there any problem with Oracle 817?

Is there a problem with Socket Server?]

[Is there a problem with the transmission of the AP and Oracle?

...

The doubt is more and more, but what is going on? And do any changes are equal to the experiment with the real environment, a little refund

There is no road, and the USER has to endure in the first few days. As long as a few days, someone will definitely come to the boss, then

Just ...

[Eating, wait for all AP services to Single, and all installing 817 the same, tomorrow

Run it.]

This change can know if Single is different from multiple, and you can put Oracle and AP.

The issue of transmission is excluded, let the problem are better. Ugh! All the situation has been tested in advance, it is missing 20

Personal while Run a Program ...

7/3 Tuesday, everyone dragged the tired body and faced a heavy day.

[Can you be class?]

[Well! Start]

The focus of all the attention of all 20 User screens.

[RPC, RPC, don't come out RPC ...] as if it is spell.

Time is over one minute.

[Is there an RPC?

[No, but half of the User's Program Run is falling, death, to force the interruption to end.]

[too much?]

[there's a few!]

[RPC?]

[No.]

There is no rpc error, everyone seems to be ignorant. That is because of Multiple's problem, or ORAC

Le and AP transmission problems cause RPC?

Return, then reply to 3 in the afternoon.

At noon rest time seems to be a short release for all people, User can escape this mad new system

And we can also close the door to think about it.

[There is no RPC in the morning, but because only one ap, the service is SINGLE, so lined up

The situation is very serious, often a User as a query to wait for 10 people Run's result, he will respond.

]

This can be, no matter whether it is determined to determine that the problem of RPC has been resolved, otherwise this system is not going on.]

There is no rpc error in the afternoon, it seems obvious because Multiple is caused, although because of adding 3

The phenomenon of the AP Server queue is almost, but User occasionally, it is still very upset,

However, it is much better than RPC.

[Rpc error is gone, but User is complaining to make a movement waiting for a long time, and I don't know if it is still waiting.

Stay.]

[How long have you been?]

There is more than one or two hours of User.

[God! Such stupid, of course it is.]

[But the user can not come out to take a long time, and often play a place, there is no response when it is stored.

You want him to abandon the interruption, he will kill you.

[...]

It is a hot night, or these people, the new system is online, and the user overtime has become more late.

[Yea! Success!] A user has cheered, but we are relatively gone, this is not good.

Laughing, a profile can be successful, becoming the gift of God. Such a large company, so many transactions every day, now build a building in such a unstable system, and us

It is these culprits.

User also knows to avoid Space with many people to grab SERVER during the day, so add a list at night, but wait

Now there are many people who have a common idea, they can only smile to each other.

And our people are not very clear, but also wait until the user's light can start the next step.

Inspection.

[OK, who can make a view to the death of PROGRAM?]

[...]

In fact, it is not so much, because some User may be interrupted before it has not responded.

]

And carefully analyze is not every step, but is concentrated in the order system.

[Order? What is the special order?

[...]

[Order Master / Detail association is more complicated, there are 3 floors of 8 tables.]

[...]

[ok, look like a modification process.]

Waiting is an expectation, and the result is disappointing, to do experiments or adjustments to a formal environment, it is a

The one of the people who make people sweat, but the development of the whole thing has lost the opportunity to turn back, and once the disappointment is

With countless experiments with time, we have not been able to declare failure, and the company's database is turned to 6/30 O

Racle 733, no one will bear this loss, Oracle does not have a Support Database Downgrade.

7/4 Corporation is successful to the Replication of other databases, although the new system still has Program death

The problem, but the operation of the company still can't stop.

7/11 JDN's USER is successful.

7/12 HK is successful with MEX's USER.

7/13 SPN's USER is successful.

7/30 new homepage show out the following announcement:

1. The query function of the old system has stopped service from now.

2. Foreign units have been all connected, please do not provide Fax, Mail

...

From this company Client / Server Program and the ASP CGI website full shutdown, regardless of far, all U

Series use the same Program action, you can enter orders from TPE, and MEX's user can

When the other side of the earth will open the order, the 3rd floor master / detail has a total of 8 tables, which is not in the past.

It may be realized, and when we should now be happy when you are drizzling, but Program will be used when

, Like a shadow, can't move.

[BDE, Oracle has done tunning, Performance has become better, but still taken, many people have reported

The boss went there.]

[Think about a USER, don't have more days, as long as it is two times, it is 100 times, the boss didn't take the knife.

Very kind.]

[In fact, it is now obvious that Socket Server has problems, this is very unreliable, but weird is in Socket

While Server hangs, the DCOM can still be connected, do you want to try it with DCOMCONNECTION?]

[Alever, the dead horse is active.]

One day in August, the same heat, all the programs were replaced with DCOMCONNECTION.

[User appears "Interface Not Support" message.]

Modify DCMCNFG.]

[ok]

Solving the "Interface Not Support" for USER is not a difficult thing, the focus is our luck seems to start

Get improve.

Undoubtedly DCOM is much stabilized than Socket, and the program of all night will become a machine, but to solve all

User "Interface Not Support" message does not imagine simple, especially far-ended WIN95, 98 m

E or Winnt. But the important thing is to report the boss, we will not be a machine!

Solving this problem is not the Borland file, nor by patch, but by luck, borland did not

Socket is a problem, or how to avoid it, although it is now solving the problem in front of you, how many questions are like icebergs that have not emerged?

In our case, we do not rely on the high-rise support of decision-making, and have long declared failure, and there are several bosses dare to take.

The company is joking, doing unrestricted experiments and waiting, the story is reserved in the process of details, but all people

The objects and time and space background are true, on the one hand, leave a record for this battle, and I hope to put it in Delphi.

Workers, career operators do a reference, but I must say that since the answer to the official document, it does not mean

Long-term effective, our current environment is Windows 2000 Oracle 817 Delphi 5.01 DCOMCON

Neck, there is any change, you may have to play again from the beginning.

Did this fight? I started! If the boss didn't drop my fire, at most now there are still many problems.

clothes:

1. Socket Server is unimpeded, but still has its advantages, its port fixation (Default 211)

The environment of the firewall is easy to adjust, but the DCOM does not have a fixed port, which is dead in the environment with firewall.

I don't know if I will solve it by Microsoft or Borland?

2. DiCom Server is stable, but in Win95, 98, ME, Winnt's Client environment setting is very complex

And it is not expected.

3. The Advantages of Corba's Advantages, but can't cross the Internet, at least this is BORL

And the saying, if it is really, CORBA is out in the large environment of the Internet.

4. AP Server has reached once every two weeks, otherwise it is easy to Error.

5.AP Service As long as the user has Connection, you will eat some RAM, and it will not be because of this Connec

The end of Tion is released, which is very scary in the user.

6. BDE Support Oracle 8.1.x is a famous rotten, and there is several versions of SQLORA8.DLL, people have no

Appropriate, measure now, no one is stable, if you want to go back to ODBC, it is a pity!

Simply put, in the Internet environment with firewalls, Delphi seems to be solved, I believe

Many people will recommend using Web Solution, Snap, SOAP, Web Service ... But I am talking about AP.

If you want to make a complex MRP ORP ORP? Hey! That can only wish you good luck!

Abandon Delphi? Frank, don't have this idea, but will you suggest what to use? IBM will use Webs

Phere, Oracle will say to Application Server 9i, each company can send a Team Sal

Es came to visit you, but no one will prepare a Li Wei to solve your problem. If you want to leave the familiar Delphi

Put another sweet words of Sales, it seems just to find a chance to let the boss speculate on your squid.

Finally, the courage will take the delphi 6, Oracle 9i Database, Oracle Application Se

RVER 9I is filled into 3 Server, which is more projects:

1. Can Oracle 817 Can I EXPORT to 9i?

2. Can the CORBA 6 of Delphi 6 Corba IIBROKER COSIBROKER?

3. Corba Client Nomes to connect the Corba Server through the Internet.

4.Corba's Load Balancing.

5. Corba's tolerance?

6. DELPHI 6 Socket can improve?

Just for experimentation 817 Database Export to 9i, reinstalling Oracle 9i many times because of fundamental

Unable to succeed, this Oracle also does not already make a solution.

In order to link Oracle Application Server 9i to the database, I was also agreed with N times, 9i

Application Server can't connect 9i Database, only 8.1.x, this is really evil door.

The so-called heavy case means that the Windows Server is reinstalled, you can imagine how much time to go to TRY

Unbelievable results, the truly good drama is waiting to measure Delphi 6 Corba to start debut.

When Oracle 9i Database, 9i Application Server and Delphi 6 are installed, you will find

There is a lot of Visibroker versions, and you can choose 4.x and 3.x in Delphi 6.

Type, joke, of course, is a new version 4.x, which is old.

As a result, Delphi 6's database element can't be connected to Corba 4.x, hehe! I have to remove Delphi 6, and then

Take it once, this time, Corba 3.x is installed. Sure enough, you can do some experiments smoothly. Client can connect to CO.

RBA Server, and Load Balancing also takes effect, just as Li Wei, use CORBA Connect

ION can do not rely on SimpleObject to do load balancing, the program is simple, but still can't penetrate

Internet.

What will then come? Can not do it, countless installation, Delphi 6 no longer let me register, Borland

The US registration server will no longer accept my registration, even if you hold the original disc, but suddenly

It became an illegal user, I won't believe it widely, this ... Borland really let me be discouraged, no

Talking about this small movement is unreasonable, I really have a disgusted this line, I believe that all people who put this work start

The starting point is respectable, I didn't encounter a programmer to earn a lot of money, it will be young

Just starting the work of the day, just a dream, although you can't lead the thousands of people

However, it is also possible to achieve the sense of accomplishment of management by completing a computer system, how many of them are developing workers

The innate deficiency, the declaration failed, lightly separated, and lost money, and all manufacturers of all development tools can propose

The decision of the decision is less, if you use VB or Delphi to pick up a Project, it will last because of failure

The defendant, but there is no development tool manufacturer because of this income, they will continue to spend money every year.

Buy a new version of the vulnerability, and send some unstable new features to let you test, now, simply say:

[Hey! This feature You can only measure 10 times, then Game over, you must buy a set.]

Hey! A set of Delphi 6 Client / Server Do you know how much? This solution has been two months B

Orland still did not give me a reply, it is good, it will not be taken out of the experiment. In addition to the family, you can write a text.

The chapter submitted, but if it could no longer become Delphi's "legitimate" User, this is probably I am in the Li Wei Forum.

One, no longer play Delphi!

-

James

Sylix

Young and young

11 posts posted - 12/16/2001: 15:23:30

-------------------------------------------------- ----------------------------

----

same feeling

Dearkang

Young and young

17 Posts Posted - 12/17/2001: 00:11:39

-------------------------------------------------- ----------------------------

----

Is the system I want to use this cross-geographic area that should be used as an interface as an interfab?

Do you have some opinions on the system architecture?

Guard

Small class

78 Posts Posted - 12/17/2001: 00:25:53

-------------------------------------------------- ------------------------------

But use the web to do AP, I want to be very difficult, in the web environment, development tool, user

surface

They are full of challenging. If Mr. JCHANG comes out, I believe it is also a good writer because it is fascinating.

Over

It can bring more interesting to computer technology for the dead plate.

Dearkang

Young and young

17 Posts Posted - 12/17/2001: 00:35:38

-------------------------------------------------- ----------------------------

----

I want to confirm that Li Xiong is mentioned in his book:

A small amount of information to the client, multiple times (Fetch on Demand)

Reduce the CLIENT and Remote Server call round trip (Server will return the result back the result after logic)

Dearkang

Young and young

17 posts posted - 12/17/2001: 00:58:06

-------------------------------------------------- ----------------------------

----

※ Quote "Guard" published in 12/17/2001 00:25:53:

> But use the web to do AP I want to be in the current, it is really difficult, in the web environment, development tool, user

surface

> Is full of challenging. If Mr. JCHANG comes out, I believe it is also a good writer because it is fascinating.

Over

> Reference, more interesting can be brought to computer technology of the dead plate.

Has anyone tried to write web form with Visual Studio DotNet?

I think if there is Delphi's foundation, VB.NET or C # is very easy to get started.

By the way, I think the language of VB.NET has changed to no major shortcomings, even Programming Lang.

UAGE

In terms of Object Pascal may already exceed Object Pascal. So in the company, I really want to make the VB's program to become

VB.NET's programs (I don't expect them to accept C # or Java), and then learn to use Delphi by way of learning because

If you can use Delphi and VB.NET (or COM) (as interface as COM),

All in your career or is working well.

DROWSY

Young and young

China

37 Posts Posted - 12/17/2001: 09:53:36

-------------------------------------------------- ----------------------------

----

It is recommended not to use BDE, and use ADO Microsoft Driver for Oracle very stable, efficient is also very good; DB

Express provides better efficiency and stability dares to say.

Regarding the setting of the DCOM Server, I want to do it with the installer, it should be not a problem.

I like Borland's Delphi, currently use delphi6, do 3 developed and web development, very easy to use, Borlan

D NewsGroup can also help solve many problems: http://www.borland.com/newsgroups.

good luck

> 1. Socket Server is unimpeded, but still has its advantages, and its port fixation (Default 211) is easy to adjust in the environment with a firewall, but DCOM does not have a fixed port, a dead road in the environment with firewall.

I don't know if I will solve it by Microsoft or Borland?

>

> 2. DCM Server is stable, but in Win95, 98, ME, Winnt's Client environment setting is very complex

And it is not expected.

>

> 3. Corba's Advantages of Admusions, but can't cross the Internet, at least this is BOR

Land said, if it is really true, CORBA is out in the large environment of Internet.

>

> 4.AP Server has reopened once every two, otherwise it is easy to Error.

>

> 5.Ap Service As long as the user has Connection, you will eat some RAM, and it will not be because of this Conne

Curation is ended, which is very scary in the user.

>

> 6.bde support Oracle 8.1.x is a famous rotten, and there is several versions of SQLORA8.DLL, which is not

Appropriate, measure so, no one is stable, if you want to go back to ODBC, it is a pity!

>

Swang

Young and young

1 POSTS Posted - 12/17/2001: 10:23:43

-------------------------------------------------- ----------------------------

----

We also encountered the same problem

Later, the AP Server's DLL is installed into the COM (MTS) environment.

It is better to use the Socket Server situation and don't change the architecture (if the AP is a DLL)

In addition, you can try to use ODA to even have a lot of speeds.

In fact, I am very confident about Delphi.

I want to say your company, I want to be a matter of nothing to do.

When you take DCOM, the Client end will appear "Interface Not Support '"

It seems to be a CLIENT's DCOMCONNECTION, which is when Create DataMoudle.

If DCOMCONNECTION Active is True, he will go to APSERVER This is before you give apserver.

of

Come on, huh, huh.

omite

Young and young

1 posts posted - 12/17/2001: 10:57:54

-------------------------------------------------- ----------------------------

----

> When you take DCOM, the Client side will appear "Interface Not Support".

> It seems to be the reason why the client end DCOMCONNECTION is not at CREATE DATAMOUDLE.

> If the DCOMConnection is TRUE, he will go to the apserver, which is before you give apserver.

of

> Come on huh, huh,

Swan brother is good for a long time, ^ _ ^

When using DCOMCONNECTION, INTERFACE NOT Support is often based on permission settings.

Client Logs in the same domain, or helps the client to set an account on the AP to improve, no in-depth understanding of the reason

In addition, I have tested a problem for the experience of using Socket Server.

Use socketconnection to connect to the AP, then use the ClientDataSet to follow the AP information

Turn out again, it will often be wrong, remember to appear Socket Error,

And the SocketServer program on the AP is gone, and it is suspected because SocketServer makes Object Pooling.

Cheng, I don't know if you have this problem?

Gordon Li

Squad leader

Taiwan

383 Posts Posted - 12/18/2001: 17:32:47

-------------------------------------------------- ----------------------------

----

After watching the James brother, the feeling of my heart is very complicated, and I think I think of a few more cases a few years ago.

Scenario.

Who said that multi-layer system is not difficult? But multi-layer system is obviously trend, and it has to go on in the information industry. Delp

Hi's Midas MTS / COM is this, CORBA, EJB, .NET is also. Remember I started at 4, 5 years ago

It is also very fun to send multiple layers, but when I am preparing to distribute, I only remember that I will develop a cold sweat.

Because the user's environment is so unknow, my situation is not there than James, not RPC ERR

OR is the death of appserver, the client has Memory Error, no longer interface not support

ED, Access Deny, Access Violation, etc. Even the program can be executed, not slow, the snail is extremely

Unstable, the miserable thing that is likely to happen, I seem to have encountered.

At that time, I was awkward, I can't call the land, I can refer to it without any book, no one can ask and ask for

Save, can only blame why you want to use multi-layer systems, although I know that C / S is also failed, because

The system is implemented in the 14.4k WAN environment, I tried to use the C / S architecture to even RDBMS, the result is 20 minutes of information.

There is also no processing, so the C / S is not "not feasible, then what is the feasible in the multi-layer architecture?

The heart is thinking that it is a kill. It is better to play this opportunity to play with multi-storey architecture.

Knowing the Midas Server of Delphi 3 is a COM object, so you have to know COM, but also understand the safety access machine of COM.

The system can handle problems such as Access Deny / Access Violaion. At that time, there were few information, they can only touch it.

So MSDN, here my TEAM is more than half of the program, and you must know how to understand and design

The dielectric member can carry more useful users, and they also figure out some experience and Design Pattern, the most

How to deploy the distribution system, all the way is really going to try hard, not to say Delphi and Midas and COM

Some bugs. But this really makes me learn a lot, and I can share with you, but I also want to know now.

Li Wei in it.

From experience in experience, it is necessary to develop multi-layer systems, Leader or Architect must have been designed.

Less to the architecture has a certain concept, which can see the same idea from the current EJB. So now I want to write multiple layers

System, then:

Using Delphi COM , Forget MTS, and Pure Midas Server. MTS / Midas Server on Window

Suitable for Pilot or Prototype System. Do not use Socket Connection, its scability has problems,

Unless you are ready to change Source, but can be used to quickly build Pilot or prototype system. So one

Of course, you have to use DCOMCONNECTION, then you have to prepare the security mechanism of COM, Firewal

l If you have another solution.

CORBA is very good, but I suggest you use C / C to write CORBA Server / Corba Object, and use Delphi to write

Client. CORBA C / C has good ductility of efficiency, can also be integrated with FireWall. But CORBA C / C

The complexity may be the square of N, especially the Memory Leak problem of C / C will make people mad.

EJB is also very good, but this is also a complicated world, and it is best to use Java, pay attention to EJB in theory and

Differential differences, to design good efficiency EJB systems can not be too unsigned with EJB's Design Pattern, Architect must really understand the true purpose of each EJB, otherwise the EJB system that does not have a drift

Light snail.

I hope that the James brother is just a tiredness, but don't really leave, otherwise it will have an experienced friend.

Li Wei

Edited by - gordon Li on 12/18/2001 17:37:25

-

Bamboo

When the time flies, Yuhua is no longer. Bamboo

Bamboo

※ Source: · Zijin Feihong bbs.njupt.edu.cn · [from: 10.10.5.5]

[

Classification discussion area] [

All discussion districts] [

Previous][

This discussion area] [

Next][

Read the same topic]

转载请注明原文地址:https://www.9cbs.com/read-8655.html

New Post(0)