{"id":475881,"date":"2023-08-09T07:24:43","date_gmt":"2023-08-09T07:24:43","guid":{"rendered":""},"modified":"2023-09-05T11:11:30","modified_gmt":"2023-09-05T11:11:30","slug":"applet","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/vn\/wiki\/applet\/","title":{"rendered":"\u1ee9ng d\u1ee5ng"},"content":{"rendered":"<p>Applet l\u00e0 m\u1ed9t lo\u1ea1i ph\u1ea7n m\u1ec1m \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf \u0111\u1ec3 th\u1ef1c thi trong b\u1ed1i c\u1ea3nh c\u1ee7a m\u1ed9t ch\u01b0\u01a1ng tr\u00ecnh l\u1edbn h\u01a1n, th\u01b0\u1eddng l\u00e0 tr\u00ecnh duy\u1ec7t web, cung c\u1ea5p c\u00e1c t\u00ednh n\u0103ng t\u01b0\u01a1ng t\u00e1c phong ph\u00fa m\u00e0 b\u1ea3n th\u00e2n ch\u01b0\u01a1ng tr\u00ecnh c\u1ed1t l\u00f5i kh\u00f4ng cung c\u1ea5p. \u0110\u01b0\u1ee3c vi\u1ebft b\u1eb1ng ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh Java, c\u00e1c applet ch\u1ee7 y\u1ebfu \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng trong \u0111i\u1ec7n to\u00e1n m\u1ea1ng. Ch\u00fang c\u00f3 th\u1ec3 ph\u1ea3n h\u1ed3i c\u00e1c thao t\u00e1c nh\u1eadp c\u1ee7a ng\u01b0\u1eddi d\u00f9ng, ch\u1eb3ng h\u1ea1n nh\u01b0 nh\u1ea5p chu\u1ed9t ho\u1eb7c nh\u1ea5n ph\u00edm v\u00e0 ch\u00fang c\u0169ng c\u00f3 th\u1ec3 t\u01b0\u01a1ng t\u00e1c v\u1edbi c\u00e1c \u1ee9ng d\u1ee5ng ph\u1ee5 kh\u00e1c tr\u00ean c\u00f9ng m\u1ed9t trang web.<\/p>\n<h2>B\u1ed1i c\u1ea3nh l\u1ecbch s\u1eed c\u1ee7a Applet<\/h2>\n<p>L\u1ecbch s\u1eed c\u1ee7a applet b\u1eaft \u0111\u1ea7u t\u1eeb gi\u1eefa nh\u1eefng n\u0103m 1990, khi ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh Java \u0111\u01b0\u1ee3c Sun Microsystems ph\u00e1t tri\u1ec3n l\u1ea7n \u0111\u1ea7u ti\u00ean. Thu\u1eadt ng\u1eef \u201capplet\u201d \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng l\u1ea7n \u0111\u1ea7u ti\u00ean v\u00e0o n\u0103m 1995, khi Java \u0111\u01b0\u1ee3c gi\u1edbi thi\u1ec7u v\u1edbi th\u1ebf gi\u1edbi nh\u01b0 m\u1ed9t ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh m\u1edbi \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf cho Internet. \u00dd t\u01b0\u1edfng l\u00e0 cung c\u1ea5p m\u1ed9t \u1ee9ng d\u1ee5ng nh\u1ecf (do \u0111\u00f3 c\u00f3 thu\u1eadt ng\u1eef \u201capplet\u201d) c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c nh\u00fang trong trang HTML v\u00e0 ch\u1ea1y trong tr\u00ecnh duy\u1ec7t web.<\/p>\n<h2>M\u1edf r\u1ed9ng tr\u00ean Applet<\/h2>\n<p>Applet, nh\u01b0 \u0111\u00e3 n\u00f3i \u1edf tr\u00ean, l\u00e0 c\u00e1c ch\u01b0\u01a1ng tr\u00ecnh Java nh\u1ecf c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c t\u00edch h\u1ee3p v\u00e0o trang HTML, ch\u1ea1y \u1edf ph\u00eda m\u00e1y kh\u00e1ch v\u00e0 \u0111\u01b0\u1ee3c th\u1ef1c thi b\u1edfi M\u00e1y \u1ea3o Java (JVM). M\u1ed9t applet c\u00f3 th\u1ec3 ch\u1ea1y trong b\u1ea5t k\u1ef3 tr\u00ecnh duy\u1ec7t web n\u00e0o h\u1ed7 tr\u1ee3 JVM. Ch\u00fang \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 l\u00e0m cho c\u00e1c trang web tr\u1edf n\u00ean n\u0103ng \u0111\u1ed9ng v\u00e0 th\u00fa v\u1ecb h\u01a1n. V\u00ed d\u1ee5: ch\u00fang c\u00f3 th\u1ec3 hi\u1ec3n th\u1ecb \u0111\u1ed3 h\u1ecda t\u01b0\u01a1ng t\u00e1c ho\u1eb7c th\u1ef1c hi\u1ec7n c\u00e1c ph\u00e9p t\u00ednh d\u1ef1a tr\u00ean d\u1eef li\u1ec7u \u0111\u1ea7u v\u00e0o c\u1ee7a ng\u01b0\u1eddi d\u00f9ng.<\/p>\n<p>M\u1ed9t applet c\u00f3 v\u00f2ng \u0111\u1eddi \u0111\u01b0\u1ee3c ki\u1ec3m so\u00e1t b\u1edfi tr\u00ecnh duy\u1ec7t v\u00e0 JVM. V\u00f2ng \u0111\u1eddi bao g\u1ed3m b\u1ed1n giai \u0111o\u1ea1n: kh\u1edfi t\u1ea1o, b\u1eaft \u0111\u1ea7u, d\u1eebng v\u00e0 h\u1ee7y b\u1ecf. M\u1ed9t applet b\u1eaft \u0111\u1ea7u ho\u1ea1t \u0111\u1ed9ng khi n\u00f3 \u0111\u01b0\u1ee3c JVM t\u1ea3i v\u00e0 kh\u1edfi t\u1ea1o. Sau \u0111\u00f3 n\u00f3 \u0111\u01b0\u1ee3c kh\u1edfi t\u1ea1o, kh\u1edfi \u0111\u1ed9ng v\u00e0 hi\u1ec3n th\u1ecb tr\u00ean trang web. Khi ng\u01b0\u1eddi d\u00f9ng \u0111i\u1ec1u h\u01b0\u1edbng kh\u1ecfi trang, applet s\u1ebd b\u1ecb d\u1eebng v\u00e0 sau \u0111\u00f3 b\u1ecb JVM h\u1ee7y.<\/p>\n<h2>Ho\u1ea1t \u0111\u1ed9ng b\u00ean trong c\u1ee7a m\u1ed9t Applet<\/h2>\n<p>M\u1ed9t applet bao g\u1ed3m m\u00e3 byte Java, l\u00e0 m\u1ed9t bi\u1ec3u di\u1ec5n ch\u01b0\u01a1ng tr\u00ecnh \u0111\u1ed9c l\u1eadp v\u1edbi n\u1ec1n t\u1ea3ng v\u00e0 n\u00f3 ch\u1ea1y b\u00ean trong m\u1ed9t JVM \u0111\u01b0\u1ee3c c\u00e0i \u0111\u1eb7t trong tr\u00ecnh duy\u1ec7t. Khi m\u1ed9t trang web ch\u1ee9a m\u1ed9t applet \u0111\u01b0\u1ee3c t\u1ea3i, plug-in Java c\u1ee7a tr\u00ecnh duy\u1ec7t s\u1ebd t\u1ea3i xu\u1ed1ng m\u00e3 byte c\u1ee7a applet, kh\u1edfi \u0111\u1ed9ng m\u1ed9t JVM, sau \u0111\u00f3 t\u1ea3i v\u00e0 th\u1ef1c thi applet trong JVM.<\/p>\n<p>Applet t\u01b0\u01a1ng t\u00e1c v\u1edbi trang web th\u00f4ng qua M\u00f4 h\u00ecnh \u0111\u1ed1i t\u01b0\u1ee3ng t\u00e0i li\u1ec7u (DOM) v\u00e0 c\u0169ng c\u00f3 th\u1ec3 giao ti\u1ebfp v\u1edbi m\u00e1y ch\u1ee7 n\u01a1i n\u00f3 \u0111\u01b0\u1ee3c t\u1ea3i, th\u00f4ng qua HTTP ho\u1eb7c c\u00e1c giao th\u1ee9c internet kh\u00e1c. Tuy nhi\u00ean, v\u00ec l\u00fd do b\u1ea3o m\u1eadt, n\u00f3 th\u01b0\u1eddng \u0111\u01b0\u1ee3c \u0111\u00f3ng h\u1ed9p c\u00e1t v\u00e0 h\u1ea1n ch\u1ebf truy c\u1eadp c\u00e1c t\u1ec7p c\u1ee5c b\u1ed9 ho\u1eb7c m\u1ed9t s\u1ed1 t\u00e0i nguy\u00ean h\u1ec7 th\u1ed1ng nh\u1ea5t \u0111\u1ecbnh.<\/p>\n<h2>C\u00e1c t\u00ednh n\u0103ng ch\u00ednh c\u1ee7a Applet<\/h2>\n<ul>\n<li><strong>N\u1ec1n t\u1ea3ng \u0111\u1ed9c l\u1eadp:<\/strong> Applet \u0111\u01b0\u1ee3c vi\u1ebft b\u1eb1ng Java, \u0111\u1ed9c l\u1eadp v\u1edbi n\u1ec1n t\u1ea3ng. Ch\u00fang c\u00f3 th\u1ec3 ch\u1ea1y tr\u00ean m\u1ecdi thi\u1ebft b\u1ecb c\u00f3 tr\u00ecnh duy\u1ec7t h\u1ed7 tr\u1ee3 JVM.<\/li>\n<li><strong>M\u1ea1ng \u0111\u00e3 \u0111\u01b0\u1ee3c k\u1ebft n\u1ed1i:<\/strong> Applet c\u00f3 th\u1ec3 giao ti\u1ebfp qua m\u1ea1ng, cho ph\u00e9p ch\u00fang tr\u1edf th\u00e0nh m\u1ed9t ph\u1ea7n c\u1ee7a c\u00e1c \u1ee9ng d\u1ee5ng \u0111\u01b0\u1ee3c n\u1ed1i m\u1ea1ng.<\/li>\n<li><strong>B\u1ea3o m\u1eadt h\u1ed9p c\u00e1t:<\/strong> Ch\u00fang ho\u1ea1t \u0111\u1ed9ng trong h\u1ed9p c\u00e1t b\u1ea3o m\u1eadt \u0111\u1ec3 ng\u0103n ch\u1eb7n truy c\u1eadp tr\u00e1i ph\u00e9p v\u00e0o t\u00e0i nguy\u00ean h\u1ec7 th\u1ed1ng, do \u0111\u00f3 \u0111\u1ea3m b\u1ea3o an ninh cho ng\u01b0\u1eddi d\u00f9ng.<\/li>\n<li><strong>Giao di\u1ec7n ng\u01b0\u1eddi d\u00f9ng phong ph\u00fa:<\/strong> Applet c\u00f3 th\u1ec3 t\u1ea1o c\u00e1c giao di\u1ec7n \u0111\u1ed3 h\u1ecda ng\u01b0\u1eddi d\u00f9ng (GUI) ph\u1ee9c t\u1ea1p v\u00e0 t\u1ea1o ra c\u00e1c h\u00ecnh \u1ea3nh \u0111\u1ed9ng m\u01b0\u1ee3t m\u00e0, khi\u1ebfn ch\u00fang ph\u00f9 h\u1ee3p \u0111\u1ec3 t\u1ea1o c\u00e1c \u1ee9ng d\u1ee5ng t\u01b0\u01a1ng t\u00e1c.<\/li>\n<\/ul>\n<h2>C\u00e1c lo\u1ea1i Applet<\/h2>\n<p>Ch\u1ee7 y\u1ebfu c\u00f3 hai lo\u1ea1i applet:<\/p>\n<ol>\n<li>\n<p><strong>Applet c\u1ee5c b\u1ed9:<\/strong> Nh\u1eefng applet n\u00e0y kh\u00f4ng c\u1ea7n k\u1ebft n\u1ed1i v\u1edbi internet sau khi \u0111\u01b0\u1ee3c t\u1ea3i xu\u1ed1ng. Ch\u00fang ch\u1ea1y trong tr\u00ecnh duy\u1ec7t c\u1ee7a ng\u01b0\u1eddi d\u00f9ng v\u00e0 th\u1ef1c hi\u1ec7n c\u00e1c ch\u1ee9c n\u0103ng m\u00e0 kh\u00f4ng c\u1ea7n k\u1ebft n\u1ed1i v\u1edbi m\u00e1y ch\u1ee7.<\/p>\n<\/li>\n<li>\n<p><strong>Applet t\u1eeb xa:<\/strong> Nh\u1eefng applet n\u00e0y y\u00eau c\u1ea7u k\u1ebft n\u1ed1i internet li\u00ean t\u1ee5c. H\u1ecd li\u00ean l\u1ea1c v\u1edbi m\u1ed9t m\u00e1y ch\u1ee7 \u0111\u1ec3 th\u1ef1c hi\u1ec7n ch\u1ee9c n\u0103ng c\u1ee7a h\u1ecd.<\/p>\n<\/li>\n<\/ol>\n<h2>C\u00e1ch s\u1eed d\u1ee5ng Applet v\u00e0 c\u00e1c v\u1ea5n \u0111\u1ec1 li\u00ean quan<\/h2>\n<p>Applet th\u01b0\u1eddng \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 cung c\u1ea5p c\u00e1c t\u00ednh n\u0103ng t\u01b0\u01a1ng t\u00e1c tr\u00ean c\u00e1c trang web, ch\u1eb3ng h\u1ea1n nh\u01b0 tr\u00f2 ch\u01a1i, m\u00e1y t\u00ednh, ho\u1ea1t \u1ea3nh v\u00e0 b\u1ea3n \u0111\u1ed3 t\u01b0\u01a1ng t\u00e1c. Ch\u00fang c\u0169ng c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng cho c\u00e1c t\u00e1c v\u1ee5 ph\u1ee9c t\u1ea1p h\u01a1n nh\u01b0 b\u1ecf phi\u1ebfu tr\u1ef1c tuy\u1ebfn, th\u01b0\u01a1ng m\u1ea1i \u0111i\u1ec7n t\u1eed v\u00e0 c\u00e1c \u1ee9ng d\u1ee5ng m\u00e1y t\u00ednh \u0111\u1ec3 b\u00e0n t\u1eeb xa.<\/p>\n<p>Tuy nhi\u00ean, vi\u1ec7c s\u1eed d\u1ee5ng applet \u0111\u00e3 gi\u1ea3m d\u1ea7n qua c\u00e1c n\u0103m do m\u1ed9t s\u1ed1 v\u1ea5n \u0111\u1ec1:<\/p>\n<ul>\n<li><strong>V\u00e2n \u0111\u00ea ba\u0309o m\u00e2\u0323t:<\/strong> M\u1eb7c d\u00f9 ch\u1ea1y trong h\u1ed9p c\u00e1t, nh\u01b0ng c\u00e1c applet tr\u01b0\u1edbc \u0111\u00e2y \u0111\u00e3 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng cho m\u1ee5c \u0111\u00edch x\u1ea5u, khi\u1ebfn nhi\u1ec1u ng\u01b0\u1eddi d\u00f9ng v\u00e0 t\u1ed5 ch\u1ee9c c\u1ea3nh gi\u00e1c v\u1edbi ch\u00fang.<\/li>\n<li><strong>Hi\u1ec7u su\u1ea5t:<\/strong> Khi c\u00e1c applet ch\u1ea1y \u1edf ph\u00eda m\u00e1y kh\u00e1ch, ch\u00fang c\u00f3 th\u1ec3 t\u1ea3i ch\u1eadm v\u00e0 ti\u00eau t\u1ed1n t\u00e0i nguy\u00ean h\u1ec7 th\u1ed1ng \u0111\u00e1ng k\u1ec3.<\/li>\n<li><strong>S\u1ef1 ph\u1ee5 thu\u1ed9c v\u00e0o Java:<\/strong> Ng\u01b0\u1eddi d\u00f9ng ph\u1ea3i c\u00e0i \u0111\u1eb7t v\u00e0 \u0111\u1ecbnh c\u1ea5u h\u00ecnh \u0111\u00fang c\u00e1ch M\u00f4i tr\u01b0\u1eddng ch\u1ea1y thi h\u00e0nh Java (JRE) trong tr\u00ecnh duy\u1ec7t c\u1ee7a h\u1ecd, \u0111\u00e2y c\u00f3 th\u1ec3 l\u00e0 m\u1ed9t nhi\u1ec7m v\u1ee5 ph\u1ee9c t\u1ea1p \u0111\u1ed1i v\u1edbi ng\u01b0\u1eddi d\u00f9ng kh\u00f4ng r\u00e0nh v\u1ec1 k\u1ef9 thu\u1eadt.<\/li>\n<\/ul>\n<h2>So s\u00e1nh Applet v\u1edbi c\u00e1c \u0111i\u1ec1u kho\u1ea3n t\u01b0\u01a1ng t\u1ef1<\/h2>\n<p>D\u01b0\u1edbi \u0111\u00e2y l\u00e0 so s\u00e1nh c\u00e1c applet c\u00f3 kh\u00e1i ni\u1ec7m t\u01b0\u01a1ng t\u1ef1:<\/p>\n<table>\n<thead>\n<tr>\n<th>Thu\u1eadt ng\u1eef<\/th>\n<th>S\u1ef1 \u0111\u1ecbnh ngh\u0129a<\/th>\n<th>Ch\u1ea5p h\u00e0nh<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u1ee9ng d\u1ee5ng<\/td>\n<td>M\u1ed9t \u1ee9ng d\u1ee5ng nh\u1ecf \u0111\u01b0\u1ee3c nh\u00fang trong trang HTML, \u0111\u01b0\u1ee3c \u0111i\u1ec1u h\u00e0nh b\u1edfi JVM trong tr\u00ecnh duy\u1ec7t web<\/td>\n<td>Ph\u00eda kh\u00e1ch h\u00e0ng<\/td>\n<\/tr>\n<tr>\n<td>Servlet<\/td>\n<td>M\u1ed9t ch\u01b0\u01a1ng tr\u00ecnh Java ch\u1ea1y tr\u00ean m\u00e1y ch\u1ee7, th\u01b0\u1eddng \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 t\u1ea1o n\u1ed9i dung web \u0111\u1ed9ng<\/td>\n<td>Ph\u00eda m\u00e1y ch\u1ee7<\/td>\n<\/tr>\n<tr>\n<td>JavaScript<\/td>\n<td>Ng\u00f4n ng\u1eef k\u1ecbch b\u1ea3n cho c\u00e1c trang web, \u0111\u01b0\u1ee3c \u0111i\u1ec1u h\u00e0nh b\u1edfi c\u00f4ng c\u1ee5 JavaScript c\u1ee7a tr\u00ecnh duy\u1ec7t<\/td>\n<td>Ph\u00eda kh\u00e1ch h\u00e0ng<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Vi\u1ec5n c\u1ea3nh t\u01b0\u01a1ng lai v\u00e0 c\u00f4ng ngh\u1ec7 li\u00ean quan \u0111\u1ebfn Applet<\/h2>\n<p>T\u01b0\u01a1ng lai c\u1ee7a c\u00e1c applet l\u00e0 kh\u00f4ng ch\u1eafc ch\u1eafn do s\u1ef1 ph\u00e1t tri\u1ec3n c\u1ee7a c\u00e1c c\u00f4ng ngh\u1ec7 web hi\u1ec7n \u0111\u1ea1i nh\u01b0 HTML5, CSS3 v\u00e0 JavaScript, cung c\u1ea5p ch\u1ee9c n\u0103ng t\u01b0\u01a1ng t\u1ef1 m\u00e0 kh\u00f4ng y\u00eau c\u1ea7u ng\u01b0\u1eddi d\u00f9ng c\u00e0i \u0111\u1eb7t JVM ho\u1eb7c x\u1eed l\u00fd c\u00e1c v\u1ea5n \u0111\u1ec1 b\u1ea3o m\u1eadt c\u1ee7a Java.<\/p>\n<p>Tuy nhi\u00ean, v\u1eabn c\u00f3 nh\u1eefng l\u0129nh v\u1ef1c m\u00e0 applet chi\u1ebfm \u01b0u th\u1ebf, ch\u1eb3ng h\u1ea1n nh\u01b0 c\u00e1c \u1ee9ng d\u1ee5ng ph\u1ee9c t\u1ea1p \u0111\u00f2i h\u1ecfi to\u00e0n b\u1ed9 s\u1ee9c m\u1ea1nh c\u1ee7a Java. H\u01a1n n\u1eefa, c\u00f4ng ngh\u1ec7 Java Web Start cho ph\u00e9p kh\u1edfi ch\u1ea1y c\u00e1c \u1ee9ng d\u1ee5ng Java \u0111\u1ea7y \u0111\u1ee7 t\u00ednh n\u0103ng tr\u1ef1c ti\u1ebfp t\u1eeb tr\u00ecnh duy\u1ec7t web, \u0111i\u1ec1u n\u00e0y c\u00f3 th\u1ec3 mang l\u1ea1i s\u1ef1 h\u1ed3i sinh cho ch\u1ee9c n\u0103ng gi\u1ed1ng nh\u01b0 applet.<\/p>\n<h2>Applet v\u00e0 m\u00e1y ch\u1ee7 proxy<\/h2>\n<p>M\u1eb7c d\u00f9 applet v\u00e0 m\u00e1y ch\u1ee7 proxy l\u00e0 nh\u1eefng c\u00f4ng ngh\u1ec7 ri\u00eang bi\u1ec7t nh\u01b0ng ch\u00fang c\u00f3 th\u1ec3 t\u01b0\u01a1ng t\u00e1c trong m\u1ed9t s\u1ed1 tr\u01b0\u1eddng h\u1ee3p nh\u1ea5t \u0111\u1ecbnh. M\u00e1y ch\u1ee7 proxy c\u00f3 th\u1ec3 l\u00e0m trung gian k\u1ebft n\u1ed1i gi\u1eefa m\u1ed9t applet v\u00e0 m\u00e1y ch\u1ee7 m\u00e0 n\u00f3 li\u00ean l\u1ea1c, cung c\u1ea5p c\u00e1c l\u1ee3i \u00edch nh\u01b0 b\u1ed9 nh\u1edb \u0111\u1ec7m, l\u1ecdc v\u00e0 b\u1ea3o m\u1eadt n\u00e2ng cao. Tuy nhi\u00ean, \u0111i\u1ec1u quan tr\u1ecdng c\u1ea7n l\u01b0u \u00fd l\u00e0 applet ph\u1ea3i \u0111\u01b0\u1ee3c thi\u1ebft k\u1ebf \u0111\u1ec3 h\u1ed7 tr\u1ee3 m\u00e1y ch\u1ee7 proxy v\u00e0 tr\u00ecnh duy\u1ec7t c\u1ee7a ng\u01b0\u1eddi d\u00f9ng ph\u1ea3i \u0111\u01b0\u1ee3c c\u1ea5u h\u00ecnh \u0111\u1ec3 s\u1eed d\u1ee5ng m\u00e1y ch\u1ee7 proxy.<\/p>\n<h2>Li\u00ean k\u1ebft li\u00ean quan<\/h2>\n<p>\u0110\u1ec3 bi\u1ebft th\u00eam th\u00f4ng tin v\u1ec1 Applet, h\u00e3y xem x\u00e9t c\u00e1c t\u00e0i nguy\u00ean sau:<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.oracle.com\/javase\/tutorial\/deployment\/applet\/index.html\" target=\"_new\" rel=\"noopener nofollow\">Java Applet (T\u00e0i li\u1ec7u Oracle)<\/a><\/li>\n<li><a href=\"https:\/\/www.geeksforgeeks.org\/java-applets-basics\" target=\"_new\" rel=\"noopener nofollow\">Java: Kh\u00e1i ni\u1ec7m c\u01a1 b\u1ea3n v\u1ec1 Applet (GeeksforGeeks)<\/a><\/li>\n<li><a href=\"https:\/\/www.tutorialspoint.com\/java\/java_appletbasics.htm\" target=\"_new\" rel=\"noopener nofollow\">Gi\u1edbi thi\u1ec7u v\u1ec1 Java Applet (Tutorialspoint)<\/a><\/li>\n<\/ul>","protected":false},"featured_media":467622,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-475881","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Applet: An Overview<\/mark>","faq_items":[{"question":"What is an Applet?","answer":"<p>An Applet is a small software application written in Java, designed to run within the context of a larger program, often a web browser. It provides rich, interactive features that the main program does not offer.<\/p>"},{"question":"When was the term \"Applet\" first used?","answer":"<p>The term \"Applet\" was first used in 1995, when Java was introduced to the world as a new programming language designed specifically for the internet.<\/p>"},{"question":"How does an Applet work?","answer":"<p>An Applet consists of Java bytecode that runs inside a Java Virtual Machine (JVM) installed in the browser. When a webpage containing an applet is loaded, the browser's Java plugin downloads the applet's bytecode, starts a JVM, and then loads and executes the applet within the JVM.<\/p>"},{"question":"What are the key features of an Applet?","answer":"<p>The key features of an Applet include platform independence, network connectivity, sandboxed security, and the ability to create rich user interfaces.<\/p>"},{"question":"What types of Applets exist?","answer":"<p>There are primarily two types of Applets: Local Applets, which run within the user's browser and perform functions without needing to connect to a server; and Remote Applets, which require constant internet connectivity and communicate with a server to perform their functions.<\/p>"},{"question":"What are the problems associated with the use of Applets?","answer":"<p>Some of the problems associated with the use of Applets include security issues, performance limitations, and a dependence on Java.<\/p>"},{"question":"How does an Applet compare with similar terms like Servlet and JavaScript?","answer":"<p>While an Applet is a small application that is embedded within an HTML page and run by a JVM in a web browser, a Servlet is a Java program that runs on a server, typically used to generate dynamic web content. On the other hand, JavaScript is a scripting language for web pages, run by the browser's JavaScript engine.<\/p>"},{"question":"What are the future perspectives and technologies related to Applet?","answer":"<p>The future of Applets is uncertain due to the rise of modern web technologies such as HTML5, CSS3, and JavaScript, which provide similar functionality without requiring users to install a JVM or deal with Java's security issues. However, areas requiring the full power of Java still prefer Applets.<\/p>"},{"question":"How can proxy servers be used or associated with Applets?","answer":"<p>A proxy server can mediate the connection between an Applet and the server it communicates with, providing benefits like caching, filtering, and enhanced security. However, it's important to note that the Applet must be designed to support proxy servers, and the user's browser must be configured to use the proxy server.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/vn\/wp-json\/wp\/v2\/wiki\/475881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/vn\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/vn\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/vn\/wp-json\/wp\/v2\/wiki\/475881\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/vn\/wp-json\/wp\/v2\/media\/467622"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/vn\/wp-json\/wp\/v2\/media?parent=475881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}