If using dried noodles, prepare noodles as direction but reduce the time called for by half. Grind garlic, candlenuts and pepper using mortar and pestle, or electric grinder, to smooth paste.
Heat cooking oil in a wok. Stir-fry spice paste till fragrant over medium heat for 30 seconds or less.
Toss in chicken and prawns. Cook quickly by stirring using a spatula. Add sweet soy sauce. Mix well.
Pour chicken stock in the wok. Toss in cabbage. Reduce heat slightly and let boil, about 2-3 minutes.
When the liquid slightly reduced, add the noodles. Increase the heat to medium-high and cook the noodles and sauce until desired consistency. For dry noodles, cook longer. For wet noodles, cook briefly.
Add bean sprouts and chopped greens. Mix well. Serve the Mie Goreng Java warm. Sprinkle some shallot flakes and chopped celery on top for garnish on individual plates.