Radim ja zavisno od projekta do projekta. Java je sasvim laka da se radi i ima dosta stvarih ugradjeno tako da ako trebas nesto nabrzaka i ako ti treba nabrzaka GUI pravo je dobra.
Cini mi se da ovdjevrlo malo ljudi radi na javi.
Ko od vas uci/radi u Javi?
Radim ja zavisno od projekta do projekta. Java je sasvim laka da se radi i ima dosta stvarih ugradjeno tako da ako trebas nesto nabrzaka i ako ti treba nabrzaka GUI pravo je dobra.
I ja je ucim, i bogami ako je do aprila ne usavrsim, ima cijelo ljeto da je usavrsavam...
Always smiling :-)
potpisujem profesore miticuOriginally Posted by shake
Divno ucim je i ja....
Zamrzio sam sve sto je objektno orjentisano zbog C++, pa tako mrzim i javu... Ali je uchim, uchim i uchim
U svakoj zeni lezi djavo. Ili ga ubijes radjanjem, ili poslom, ili i jednim i drugim.
zar je moguće da se nekome ne sviđa C++.
ili da mu se više sviđa Java?
razumijem ja te multiplatformske zezancije i slično, ali mislim da je C++ puno bolji i ljepši jezik.
....
Ja vise volim javu nego c++, mada lijepa su oba al eto vise projekata sam u javi radila pa mozda zato
C++ lijep ?
E, ako sam nesto grdje vidio stvarno ne znam. Python je miss universe za njega.
Juffo-Wup fills in my fibers and I grow turgid. Violent action ensues.
Break stuff
Kako si mi prochita misli, posle posta plavookog..Originally Posted by db
Ko vidi drvece u vodi, taj vidi i ribe na grani
Ao sad biste se Vi do $utra prepucavali. Logično je valjda da ti se više sviđa onaj koji bolje znaš, i sa kojim imaš više iskustva.
Btw da ne znate za neku dobru zbirku zadataka iz Jave, osim onu od Laslo Krausa? Ako znate iz C-a ne može da škodi, osim da nije Tondo-Gimpel (pratnja uz Kernighan-Ritchie)?
Always smiling :-)
ovdje se cijeli c smjer skupio :-)
Java je mnogo mocna, pravi izbor za one koji su mrezno rijentisani (Internet/Klijent-server)
JEE je defakto standard u izgradnji enteprise platformi.
Ja sam za php i java script a ovo ostalo... mucni pa prospi :P:P
U svakoj zeni lezi djavo. Ili ga ubijes radjanjem, ili poslom, ili i jednim i drugim.
Ako se nekome ne dopada C/C++ to znaci da ga ovaj ne poznaje dovoljno. Prije neki dan sam vidio ovakav komentar na nekom forumu: "Ne volim C/C++ zbog odvratnih pointer-a".
Da ih je zaista savladao, ne bi mogao da zamisli C/C++ bez istih.
Evo dobar link: http://202.179.135.4/info/download.asp?FolderPath=D:
Pozdrav!
Djoks, logicno, ali ja generalno mrzim objektno orjentisano programiranje... :P
BTW da nece ko da zarradi kakve pare???
Treba da mi se napravi Network server sa concurent userima i user interface... Uskoro uputstva ako bude zainteresovanih....
U svakoj zeni lezi djavo. Ili ga ubijes radjanjem, ili poslom, ili i jednim i drugim.
sta treba sve da se radi tacno...
aj javi mi na PP ili ovdje reci- svejedno...
1 – Overall System and Auction Setup
An abstract view of the overall auction system is the following:
• For a specified period of time, the auction is advertised
• At a specific time the auction starts
• At a specific time the auction stops accepting clients
• At a specific time the auction closes
Since the time requirements are rather cumbersome and impractical to implement
for this practical, an efficient way of simulating this has to be determined. One
possible way is to allow a user who handles the auction server to select options
among:
1. starting the server (advertising)
2. starting the auction
3. stoping acceptance of clients
4. closing the auction
5. stoping the server
1.1 Starting the Auction
When the server is initially started, it is actually advertising the auction that will
take place at a specific time. In other words, when clients connect to the server,
they receive as a response:
• a welcome message
• the item that will be for sale
• the starting price of the item.
After this initial interaction, the clients may wish:
• not to participate to the auction by typing “/quit” and they receive a
simple “thank you” message from the server and they are disconnected
• participate to the auction by typing “/participate” and in this case the
server places the specific client on hold until the auction begins
When the auction starts (handled by a user operating the server), all participating
(on hold) clients receive a message from the server that states that the auction has
been started along with the item that is for sale and the starting price.
2 – The Auction Procedure
After the auction has been started by the server, the following procedures are
possible.
2.1 Client Functionality
A client can place a bid at any time by typing “/bid amount” where amount
represents euros. If the bid that the client places is less than or equal to the current highest bid, the server must reply back an appropriate error message to
the specific client.
A client may also query the server at any time as to who are the participants of the
auction by typing “/participants”. In this case, the server replies back to the
specific client with the IP addresses of all the participants of the current auction.
A client may exit the auction at any time by typing “/quit” unless he/she is the
client that has placed the latest highest bid. In this case the server sends back a
message that it is not allowed to quit the auction until someone places a higher
bid.
2.2 Server Functionality
When the server receives a new bid, it sends to all the currently connected
participants the following information:
• the item that is for sale
• the starting price
• the latest highest bid
• the IP address of the client who placed the latest highest bid
At all cases, the server knows which is the client that has placed the highest bid.
Furthermore, as it is already mentioned in 2.1, the server must send back
appropriate error messages to the requests of the clients whenever required.
Lastly, for the needs of this practical, the maximum number of clients that can
participate in an auction is five, including any other clients that may enter the
auction after it has started (described below). The server must ensure at all times
the maximum number of five clients and deny any connection to the auction.
3 – New Auction Clients
While a specific auction is still undergo, other clients have also the chance to
participate and place bids. When these possible new clients query the server, the
procedure that is followed is:
1. The server sends to the potential client:
• the item that is for sale
• the starting price
• the latest highest bid
2. After this information is sent to the client, they may require to connect to the
specific auction or just exit.
• If the client wishes to enter the specific auction, it notifies the server and
the server replies back the regular message that contains the item for sale,
the starting price, the latest highest bid and the IP address of the client
that has placed the highest bid
• Otherwise, if the client does not wish to enter the specific auction, it types
“/quit” and the server sends back a simple “thank you” message and
disconnects the client
3.1 New Clients
As it is mentioned in 1, there is a predefined time period that new clients can
enter the auction after it has started. Therefore, if clients wish to connect after
the predefined period (simulated by someone setting this at the server), they
receive an appropriate message from the server stating the reason that they are
not allowed to enter the auction and they are disconnected.
4 – Closing the Auction
When the auction is closed, the server sends to all clients the following
information:
• the item that was for sale
• the final price that was offered for the item
• the IP address of the client who has bought the item
• a simple “thank you” message for participating in the auction
Finally, the server closes all current connections with the clients.
U svakoj zeni lezi djavo. Ili ga ubijes radjanjem, ili poslom, ili i jednim i drugim.
Jel' niko da se usudi da kaze da ovo moze da uradi ili kako?????
U svakoj zeni lezi djavo. Ili ga ubijes radjanjem, ili poslom, ili i jednim i drugim.
ovo moze da se napravi na raznim platformama. U zavisnosti od radnog okruzenja.Originally Posted by Cazas_plavooki
koliko max klijenata treba da opsluzuje ovaj server?
koliki je budzet za ovaj projekat?
Last edited by Ego_and_his_own; 20-03-06 at 10:18.
Nebitno, treba da bude concurent u smislu da moze da opsluzi vise od jednog...
Java ili C++ okruzenje
Budzeta jos nema :P
U svakoj zeni lezi djavo. Ili ga ubijes radjanjem, ili poslom, ili i jednim i drugim.
Java
Ja je učim ove godine... izjavite mi saučešće... s' .NET-a na Javu kao s' konja na magarca... :joint:
Ako neko oce ovo da uradi u C,C++ ili C# najlakse je da uzme neki jednostavan gotov primjer "chat programa" i da ga prepravi da radi ovo što treba.
Znam da ima u C++ editoru (IDE-u) cini mi se i u C# primjer (Chat Example) u primjerima (Network examples).
Evo malo s' Googla:
C#
http://www.codeproject.com/KB/IP/csocket.aspx
http://www.dreamincode.net/forums/showtopic33396.htm
http://www.c-sharpcorner.com/UploadF...at_server.aspx
Vjerovatno postoji slicna stvar u Visual Basic-u (neznam jer od VB-a radim samo VBA za Access, Excel, Word ...)
Cini mi se da bi se ista funkcionalnost mogla izvesti pomoću PHP-a i možda AJAX-a (java skript kontrole) . Da web server bude server (kao da već nije server :-D ) a browser klijent.
Da nebi bilo "offtopic" u Javi je možda najbolje. Dobro je u Javi jer bi trebalo svuda da radi od Windowsa , Linuxa , možda čak i na mobilnim ... Svuda ima podrška za neku varijantu Jave. Nemora da se instalira , samo se kikne na fajl (.jar). Evo od Googla pomoći :
http://www.ashishmyles.com/tutorials/tcpchat/index.html
Ja BAS nisam volio Javu. Nisam mogao sebe zamisliti da je ucim.
Danas je na poslu koristim redovno, i omiljeni mi je jezik.
Ima dosta jezika i njihovih IDE-a koji su bolji za neke stvari , sve zavisi od zadatka.
Ali u globalu, sam jezik i svi principi koji postoje u njemu su mi odlicni... Kod koji se u njemu pise je cista elegancija... :-)
A IDE-e da ne pominjem. Java mi ima UBJEDLJIVO najbolje ( uz to i besplatne ) IDE-e.
Jedino sto mi smeta je to sto mu je API poprilicno siromasan u djelovima gdje bi bas trebao biti bogat...
Ja radim sa Javom. Ko misli da zivi od programiranja najisplativije mu je da ulozi vrijeme u ucenje Jave. C++ je koristan za neke stvari zbog brzine ali ja ne mogu ni da zamislim da ga koristim za ovo sto radim. Najbrzi razvoj i po meni najelegantniji jezik je python. Ovo ostalo sto je trenutno u modi je i na putu da bude samo trenutna moda.
U svakom slucaju treba savladati principe objektno orjentisanog programiranja, strukturu programa i paterne. Prebacit se sa jednog jezika na drugi je trivijalna stvar ili bi bar trebalo da bude. I u samoj Javi imate na primjer za razvoj web aplikacija razlicite framework-e izmedju kojih je nekad potrebno da se prebacite za kratko vrijeme. A to zna da bude veca razlika nego prelazak sa Jave na C++.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks